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.001307/0.001307, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001457/0.001457, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.497/1.497, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2359/0.2359, allocations: 46.97 MB / 360.9 MB, free: 4.027 MB / 286.1 MB " [Timeout remaining time 180] 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: "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestSaturatingInductor,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_Analog_TestSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestSaturatingInductor,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_Analog_TestSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002249/0.002249, allocations: 67.91 kB / 0.4961 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3413, allocations: 66.04 MB / 0.5606 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.00458/0.3459, allocations: 1.847 MB / 0.5624 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001464/0.3474, allocations: 0.5543 MB / 0.5629 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.924e-05/0.3475, allocations: 4 kB / 0.5629 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.653e-05/0.3475, allocations: 15.8 kB / 0.563 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002535/0.3478, allocations: 39.7 kB / 0.563 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003976/0.3482, allocations: 83.81 kB / 0.5631 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002616/0.3484, allocations: 147.4 kB / 0.5632 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.3486, allocations: 23.12 kB / 0.5632 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002628/0.3488, allocations: 83.69 kB / 0.5633 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.349, allocations: 63.69 kB / 0.5634 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.23e-05/0.349, allocations: 12 kB / 0.5634 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.9e-05/0.3491, allocations: 23.98 kB / 0.5634 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.204e-05/0.3492, allocations: 23.92 kB / 0.5634 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.61e-05/0.3493, allocations: 51.78 kB / 0.5635 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002907/0.3496, allocations: 143.4 kB / 0.5636 GB, free: 1.102 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3496, allocations: 0 / 0.5636 GB, free: 1.102 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3496, allocations: 0 / 0.5636 GB, free: 1.102 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.3496, allocations: 0 / 0.5636 GB, free: 1.102 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.0009838/0.3506, allocations: 377.8 kB / 0.564 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/0.3506, allocations: 12.03 kB / 0.564 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.282e-05/0.3507, allocations: 46.62 kB / 0.564 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004085/0.3511, allocations: 44.81 kB / 0.5641 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.3513, allocations: 130.4 kB / 0.5642 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.3513, allocations: 8.375 kB / 0.5642 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.355e-05/0.3513, allocations: 4.375 kB / 0.5642 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004839/0.3518, allocations: 194 kB / 0.5644 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.3518, allocations: 4 kB / 0.5644 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.3519, allocations: 0 / 0.5644 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.3519, allocations: 0 / 0.5644 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004597/0.3523, allocations: 99.83 kB / 0.5645 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/0.3535, allocations: 398.6 kB / 0.5649 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004756/0.354, allocations: 94.52 kB / 0.565 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002344/0.3542, allocations: 36.92 kB / 0.565 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.3542, allocations: 0 / 0.565 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.938e-05/0.3543, allocations: 42.48 kB / 0.565 GB, free: 15.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.3543, allocations: 4 kB / 0.565 GB, free: 15.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.002019/0.3563, allocations: 309.1 kB / 0.5653 GB, free: 15.17 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.3564, allocations: 110.8 kB / 0.5654 GB, free: 15.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002336/0.3566, allocations: 156 kB / 0.5656 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/0.3566, allocations: 25.7 kB / 0.5656 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.3568, allocations: 120.2 kB / 0.5657 GB, free: 14.72 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.307e-05/0.3568, allocations: 15.8 kB / 0.5658 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.3569, allocations: 29.7 kB / 0.5658 GB, free: 14.67 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002012/0.3571, allocations: 326.8 kB / 0.5661 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003471/0.3575, allocations: 59.94 kB / 0.5661 GB, free: 14.28 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00042/0.3579, allocations: 151.6 kB / 0.5663 GB, free: 14.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006975/0.3586, allocations: 130.4 kB / 0.5664 GB, free: 13.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.3586, allocations: 4.031 kB / 0.5664 GB, free: 13.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008342/0.3594, allocations: 169.5 kB / 0.5666 GB, free: 13.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.3594, allocations: 7.938 kB / 0.5666 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.3594, allocations: 4.062 kB / 0.5666 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.3595, allocations: 4 kB / 0.5666 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008153/0.3603, allocations: 83.91 kB / 0.5667 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002213/0.3625, allocations: 1.393 MB / 0.568 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003343/0.3628, allocations: 28.06 kB / 0.5681 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.955e-05/0.3629, allocations: 15.92 kB / 0.5681 GB, free: 12.14 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.0001549/0.363, allocations: 114 kB / 0.5682 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.36e-05/0.3631, allocations: 8.078 kB / 0.5682 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007314/0.3638, allocations: 174.2 kB / 0.5684 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.3638, allocations: 0 / 0.5684 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.3638, allocations: 4 kB / 0.5684 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3638, allocations: 3.938 kB / 0.5684 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001246/0.3651, allocations: 417.4 kB / 0.5688 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.3651, allocations: 0 / 0.5688 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002504/0.3653, allocations: 27.97 kB / 0.5688 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.3653, allocations: 4.281 kB / 0.5688 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.3653, allocations: 4 kB / 0.5688 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/0.3653, allocations: 3.938 kB / 0.5688 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3653, allocations: 3.938 kB / 0.5688 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007955/0.3661, allocations: 251.4 kB / 0.5691 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.152e-05/0.3662, allocations: 7.953 kB / 0.5691 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.319e-05/0.3662, allocations: 0 / 0.5691 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003482/0.3666, allocations: 31.91 kB / 0.5691 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/0.3666, allocations: 7.984 kB / 0.5691 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.3666, allocations: 0 / 0.5691 GB, free: 11.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001448/0.3668, allocations: 115.2 kB / 0.5692 GB, free: 10.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3668, allocations: 7.938 kB / 0.5692 GB, free: 10.9 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005044/0.3673, allocations: 24 kB / 0.5692 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.001235/0.3685, allocations: 0.7787 MB / 0.57 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001319/0.3698, allocations: 175.8 kB / 0.5702 GB, free: 9.895 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/0.3698, allocations: 8.125 kB / 0.5702 GB, free: 9.887 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003331/0.3702, allocations: 51.95 kB / 0.5702 GB, free: 9.836 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005808/0.3708, allocations: 23.92 kB / 0.5702 GB, free: 9.812 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005602/0.3764, allocations: 1.982 MB / 0.5722 GB, free: 7.738 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.3765, allocations: 84.81 kB / 0.5723 GB, free: 7.637 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001145/0.3766, allocations: 16.42 kB / 0.5723 GB, free: 7.621 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.3767, allocations: 31.42 kB / 0.5723 GB, free: 7.59 MB / 414.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3767, allocations: 0 / 0.5723 GB, free: 7.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03845/0.4151, allocations: 3.839 MB / 0.5761 GB, free: 3.898 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.1, allocations: 0 / 0.5761 GB, free: 3.898 MB / 414.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Electrical_Analog_TestSaturatingInductor_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0_ModelicaTest_Electrical_Analog_TestSaturatingInductor.fmu > ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_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: 16.017446831800044]