Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00176/0.00176, allocations: 112.5 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002395/0.002395, allocations: 212.1 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 230.5 MB / 257.4 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.24/0.24, allocations: 46.93 MB / 360.8 MB, free: 4.168 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestSaturatingInductor,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestSaturatingInductor,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00233/0.00233, allocations: 83.86 kB / 0.4962 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.3763, allocations: 66.08 MB / 0.5607 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003382/0.3797, allocations: 1.925 MB / 0.5626 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.3808, allocations: 0.6048 MB / 0.5632 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.319e-05/0.3809, allocations: 0 / 0.5632 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.12e-05/0.3809, allocations: 11.86 kB / 0.5632 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002124/0.3811, allocations: 43.64 kB / 0.5632 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002833/0.3814, allocations: 83.81 kB / 0.5633 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001975/0.3816, allocations: 151.5 kB / 0.5635 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.3817, allocations: 31.06 kB / 0.5635 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002113/0.382, allocations: 75.75 kB / 0.5636 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.3821, allocations: 63.75 kB / 0.5636 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.981e-05/0.3821, allocations: 12 kB / 0.5636 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.791e-05/0.3822, allocations: 23.98 kB / 0.5637 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.571e-05/0.3822, allocations: 27.86 kB / 0.5637 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.433e-05/0.3823, allocations: 59.72 kB / 0.5637 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.3825, allocations: 147.4 kB / 0.5639 GB, free: 1.027 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3825, allocations: 4 kB / 0.5639 GB, free: 1.023 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.3825, allocations: 0 / 0.5639 GB, free: 1.023 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.3825, allocations: 0 / 0.5639 GB, free: 1.023 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.0008259/0.3833, allocations: 373.8 kB / 0.5643 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.3834, allocations: 16.03 kB / 0.5643 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.21e-05/0.3834, allocations: 34.75 kB / 0.5643 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003225/0.3838, allocations: 44.81 kB / 0.5643 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.3839, allocations: 130.3 kB / 0.5645 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.384, allocations: 8.375 kB / 0.5645 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.647e-05/0.384, allocations: 8.375 kB / 0.5645 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003493/0.3843, allocations: 136.3 kB / 0.5646 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.3843, allocations: 0 / 0.5646 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/0.3844, allocations: 7.938 kB / 0.5646 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.3844, allocations: 0 / 0.5646 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003504/0.3847, allocations: 99.86 kB / 0.5647 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009605/0.3857, allocations: 422.5 kB / 0.5651 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003209/0.386, allocations: 90.52 kB / 0.5652 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.3862, allocations: 36.92 kB / 0.5652 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.3862, allocations: 3.984 kB / 0.5652 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.807e-05/0.3862, allocations: 46.5 kB / 0.5653 GB, free: 15.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.3862, allocations: 0 / 0.5653 GB, free: 15.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.001478/0.3877, allocations: 321 kB / 0.5656 GB, free: 15.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.968e-05/0.3878, allocations: 106.8 kB / 0.5657 GB, free: 15 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.388, allocations: 152.3 kB / 0.5658 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.388, allocations: 25.7 kB / 0.5659 GB, free: 14.81 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.3881, allocations: 116.2 kB / 0.566 GB, free: 14.69 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.3881, allocations: 23.78 kB / 0.566 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.807e-05/0.3882, allocations: 29.7 kB / 0.566 GB, free: 14.63 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.3884, allocations: 322.8 kB / 0.5663 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002523/0.3886, allocations: 59.95 kB / 0.5664 GB, free: 14.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002694/0.3889, allocations: 96.23 kB / 0.5665 GB, free: 14.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004483/0.3893, allocations: 138.4 kB / 0.5666 GB, free: 13.99 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3893, allocations: 0 / 0.5666 GB, free: 13.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005398/0.3899, allocations: 173.5 kB / 0.5668 GB, free: 13.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.3899, allocations: 10.12 kB / 0.5668 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3899, allocations: 0 / 0.5668 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.3899, allocations: 4 kB / 0.5668 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006196/0.3905, allocations: 87.97 kB / 0.5669 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001733/0.3923, allocations: 1.397 MB / 0.5682 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002369/0.3925, allocations: 28.12 kB / 0.5683 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.3925, allocations: 7.938 kB / 0.5683 GB, free: 12.17 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.0001292/0.3926, allocations: 121.8 kB / 0.5684 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.697e-05/0.3927, allocations: 7.953 kB / 0.5684 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005482/0.3932, allocations: 166.3 kB / 0.5686 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.3932, allocations: 3.984 kB / 0.5686 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.11e-07/0.3932, allocations: 4 kB / 0.5686 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3932, allocations: 0 / 0.5686 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000861/0.3941, allocations: 437.4 kB / 0.569 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.3941, allocations: 192 / 0.569 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001617/0.3943, allocations: 23.97 kB / 0.569 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.3943, allocations: 7.938 kB / 0.569 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.3943, allocations: 4 kB / 0.569 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.3943, allocations: 3.938 kB / 0.569 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3943, allocations: 0 / 0.569 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005394/0.3948, allocations: 263.2 kB / 0.5693 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.294e-05/0.3949, allocations: 11.95 kB / 0.5693 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.3949, allocations: 0 / 0.5693 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002175/0.3951, allocations: 27.91 kB / 0.5693 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/0.3951, allocations: 3.984 kB / 0.5693 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.991e-05/0.3952, allocations: 8 kB / 0.5693 GB, free: 11.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.1e-05/0.3952, allocations: 111.2 kB / 0.5694 GB, free: 10.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3952, allocations: 0 / 0.5694 GB, free: 10.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002733/0.3955, allocations: 32 kB / 0.5695 GB, free: 10.88 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.0008942/0.3964, allocations: 0.7751 MB / 0.5702 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009222/0.3973, allocations: 172.3 kB / 0.5704 GB, free: 9.902 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3973, allocations: 0 / 0.5704 GB, free: 9.902 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002364/0.3976, allocations: 59.89 kB / 0.5704 GB, free: 9.844 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.398, allocations: 30.81 kB / 0.5705 GB, free: 9.816 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003669/0.4016, allocations: 1.981 MB / 0.5724 GB, free: 7.738 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.402, allocations: 0.7008 MB / 0.5731 GB, free: 7.012 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.506e-05/0.402, allocations: 8.422 kB / 0.5731 GB, free: 7.004 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.515e-05/0.4021, allocations: 35.42 kB / 0.5731 GB, free: 6.969 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4021, allocations: 4 kB / 0.5731 GB, free: 6.965 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03063/0.4328, allocations: 3.27 MB / 0.5763 GB, free: 3.809 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/13.04, allocations: 11.92 kB / 0.5763 GB, free: 3.797 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestSaturatingInductor_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestSaturatingInductor.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 16.00425064493902]