Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001715/0.001715, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002174/0.002174, allocations: 205.9 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.616/1.616, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2416/0.2416, allocations: 46.95 MB / 360.9 MB, free: 4.113 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor") translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 67.89 kB / 0.4966 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3813/0.3835, allocations: 66.04 MB / 0.5611 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.004031/0.3875, allocations: 1.847 MB / 0.5629 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.3886, allocations: 0.5582 MB / 0.5634 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.585e-05/0.3887, allocations: 3.938 kB / 0.5634 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.542e-05/0.3887, allocations: 11.86 kB / 0.5634 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002125/0.389, allocations: 43.69 kB / 0.5635 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000307/0.3893, allocations: 95.38 kB / 0.5636 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001939/0.3895, allocations: 147.4 kB / 0.5637 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.3896, allocations: 31.95 kB / 0.5637 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002256/0.3898, allocations: 75.7 kB / 0.5638 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/0.39, allocations: 71.69 kB / 0.5639 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.731e-05/0.39, allocations: 12 kB / 0.5639 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.454e-05/0.3901, allocations: 16 kB / 0.5639 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.093e-05/0.3901, allocations: 27.91 kB / 0.5639 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.859e-05/0.3902, allocations: 51.78 kB / 0.564 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002333/0.3904, allocations: 155.1 kB / 0.5641 GB, free: 1.016 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3904, allocations: 0 / 0.5641 GB, free: 1.016 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3904, allocations: 0 / 0.5641 GB, free: 1.016 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.3904, allocations: 0 / 0.5641 GB, free: 1.016 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009284/0.3913, allocations: 373.7 kB / 0.5645 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.3914, allocations: 16.03 kB / 0.5645 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003374/0.3917, allocations: 40.81 kB / 0.5645 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.3919, allocations: 133.4 kB / 0.5647 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.3919, allocations: 384 / 0.5647 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.45e-05/0.3919, allocations: 12.38 kB / 0.5647 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000456/0.3924, allocations: 191.9 kB / 0.5649 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.3924, allocations: 3.984 kB / 0.5649 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.3924, allocations: 0 / 0.5649 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.3924, allocations: 4 kB / 0.5649 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003491/0.3928, allocations: 95.92 kB / 0.565 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008888/0.3937, allocations: 371.1 kB / 0.5653 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003535/0.394, allocations: 82.53 kB / 0.5654 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.3942, allocations: 48.86 kB / 0.5654 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.3942, allocations: 0 / 0.5654 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/0.3943, allocations: 38.5 kB / 0.5655 GB, free: 15.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.3943, allocations: 0 / 0.5655 GB, free: 15.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.00159/0.3958, allocations: 317.2 kB / 0.5658 GB, free: 15.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.644e-05/0.3959, allocations: 106.8 kB / 0.5659 GB, free: 15.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.3961, allocations: 155.9 kB / 0.566 GB, free: 14.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.316e-05/0.3961, allocations: 33.7 kB / 0.5661 GB, free: 14.85 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.3962, allocations: 108.2 kB / 0.5662 GB, free: 14.74 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.3963, allocations: 19.86 kB / 0.5662 GB, free: 14.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.781e-05/0.3963, allocations: 25.7 kB / 0.5662 GB, free: 14.69 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.3965, allocations: 318.8 kB / 0.5665 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003026/0.3968, allocations: 63.95 kB / 0.5666 GB, free: 14.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002926/0.3971, allocations: 143.6 kB / 0.5667 GB, free: 14.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004557/0.3976, allocations: 138.5 kB / 0.5668 GB, free: 13.99 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.3976, allocations: 8 kB / 0.5668 GB, free: 13.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005812/0.3981, allocations: 181.5 kB / 0.567 GB, free: 13.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.3982, allocations: 4 kB / 0.567 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3982, allocations: 0 / 0.567 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.3982, allocations: 3.938 kB / 0.567 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006537/0.3988, allocations: 83.91 kB / 0.5671 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001568/0.4004, allocations: 1.374 MB / 0.5685 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002413/0.4006, allocations: 32.12 kB / 0.5685 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.4007, allocations: 8 kB / 0.5685 GB, free: 12.19 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001263/0.4008, allocations: 117.8 kB / 0.5686 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.269e-05/0.4008, allocations: 15.94 kB / 0.5686 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000531/0.4014, allocations: 166.3 kB / 0.5688 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.4014, allocations: 0 / 0.5688 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.4014, allocations: 0 / 0.5688 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.4014, allocations: 3.938 kB / 0.5688 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009375/0.4023, allocations: 390.2 kB / 0.5692 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.4023, allocations: 0 / 0.5692 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001746/0.4025, allocations: 27.97 kB / 0.5692 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.4025, allocations: 0 / 0.5692 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.4025, allocations: 4 kB / 0.5692 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.4025, allocations: 4.078 kB / 0.5692 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.4025, allocations: 8.109 kB / 0.5692 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005579/0.4031, allocations: 251.4 kB / 0.5694 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.068e-05/0.4031, allocations: 11.89 kB / 0.5694 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.4031, allocations: 3.984 kB / 0.5694 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002248/0.4033, allocations: 23.97 kB / 0.5695 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.387e-05/0.4034, allocations: 8 kB / 0.5695 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.4034, allocations: 8 kB / 0.5695 GB, free: 11.1 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.996e-05/0.4035, allocations: 109.5 kB / 0.5696 GB, free: 11 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4035, allocations: 0 / 0.5696 GB, free: 11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002916/0.4038, allocations: 35.94 kB / 0.5696 GB, free: 10.96 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001064/0.4039, allocations: 91.25 kB / 0.5697 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009552/0.4048, allocations: 179.7 kB / 0.5699 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4048, allocations: 0 / 0.5699 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002416/0.4051, allocations: 68.02 kB / 0.5699 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000373/0.4055, allocations: 16 kB / 0.57 GB, free: 10.6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.4069, allocations: 385.3 kB / 0.5703 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.408e-05/0.407, allocations: 84.81 kB / 0.5704 GB, free: 10.1 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.447e-05/0.4071, allocations: 16.42 kB / 0.5704 GB, free: 10.08 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.019e-05/0.4071, allocations: 15.42 kB / 0.5704 GB, free: 10.07 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4071, allocations: 4 kB / 0.5704 GB, free: 10.06 MB / 414.1 MB Notification: Performance of Templates: time 0.005259/0.4124, allocations: 1.964 MB / 0.5724 GB, free: 8.109 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.5995297990739346]