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.001393/0.001393, allocations: 116.9 kB / 18.49 MB, free: 4.559 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.001448/0.001448, allocations: 212.7 kB / 21.46 MB, free: 1.605 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.437/1.437, allocations: 230.4 MB / 254.7 MB, free: 15.16 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.227/0.227, allocations: 46.92 MB / 357.7 MB, free: 10.18 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestSaturatingInductor,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestSaturatingInductor",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002181/0.002181, allocations: 79.88 kB / 0.4916 GB, free: 7.711 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1324, allocations: 66.05 MB / 0.5561 GB, free: 5.535 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003225/0.1357, allocations: 1.911 MB / 0.558 GB, free: 3.605 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.1367, allocations: 0.6039 MB / 0.5586 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.432e-05/0.1367, allocations: 7.938 kB / 0.5586 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 4.476e-05/0.1368, allocations: 11.86 kB / 0.5586 GB, free: 2.977 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001907/0.137, allocations: 39.64 kB / 0.5587 GB, free: 2.938 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002675/0.1373, allocations: 89.69 kB / 0.5587 GB, free: 2.852 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001901/0.1374, allocations: 147.5 kB / 0.5589 GB, free: 2.707 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.1376, allocations: 21.11 kB / 0.5589 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002045/0.1378, allocations: 83.69 kB / 0.559 GB, free: 2.605 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.1379, allocations: 63.75 kB / 0.559 GB, free: 2.543 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.623e-05/0.1379, allocations: 12 kB / 0.5591 GB, free: 2.531 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.354e-05/0.1379, allocations: 20 kB / 0.5591 GB, free: 2.512 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.185e-05/0.138, allocations: 31.84 kB / 0.5591 GB, free: 2.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.654e-05/0.138, allocations: 63.72 kB / 0.5592 GB, free: 2.418 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002133/0.1383, allocations: 143.4 kB / 0.5593 GB, free: 2.277 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1383, allocations: 0 / 0.5593 GB, free: 2.277 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1383, allocations: 0 / 0.5593 GB, free: 2.277 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.1383, allocations: 0 / 0.5593 GB, free: 2.277 MB / 414.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.0008027/0.1391, allocations: 458.9 kB / 0.5597 GB, free: 1.781 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.1391, allocations: 8.031 kB / 0.5597 GB, free: 1.773 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.155e-05/0.1391, allocations: 192 / 0.5597 GB, free: 1.773 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.066e-05/0.1392, allocations: 42.75 kB / 0.5598 GB, free: 1.723 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002831/0.1394, allocations: 40.81 kB / 0.5598 GB, free: 1.684 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.1396, allocations: 192.2 kB / 0.56 GB, free: 1.457 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.1396, allocations: 8.375 kB / 0.56 GB, free: 1.449 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.75e-05/0.1396, allocations: 8.375 kB / 0.56 GB, free: 1.441 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003323/0.14, allocations: 141.8 kB / 0.5602 GB, free: 1.289 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.14, allocations: 0 / 0.5602 GB, free: 1.289 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.14, allocations: 3.984 kB / 0.5602 GB, free: 1.285 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.14, allocations: 8 kB / 0.5602 GB, free: 1.277 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003311/0.1403, allocations: 95.86 kB / 0.5603 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008236/0.1412, allocations: 459.3 kB / 0.5607 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002984/0.1415, allocations: 86.47 kB / 0.5608 GB, free: 0.582 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.1416, allocations: 44.92 kB / 0.5608 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.1416, allocations: 0 / 0.5608 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.1417, allocations: 30.56 kB / 0.5609 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.1417, allocations: 4 kB / 0.5609 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.001398/0.1431, allocations: 325.1 kB / 0.5612 GB, free: 172 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.455e-05/0.1431, allocations: 106.8 kB / 0.5613 GB, free: 40 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.1433, allocations: 156.3 kB / 0.5614 GB, free: 15.88 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.1433, allocations: 25.7 kB / 0.5614 GB, free: 15.85 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.197e-05/0.1434, allocations: 116.2 kB / 0.5616 GB, free: 15.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.117e-05/0.1434, allocations: 15.86 kB / 0.5616 GB, free: 15.71 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.226e-05/0.1435, allocations: 29.7 kB / 0.5616 GB, free: 15.68 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.1436, allocations: 330.7 kB / 0.5619 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000239/0.1439, allocations: 55.95 kB / 0.562 GB, free: 15.29 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002552/0.1441, allocations: 96.23 kB / 0.5621 GB, free: 15.18 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004409/0.1446, allocations: 138.5 kB / 0.5622 GB, free: 15.04 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1446, allocations: 4 kB / 0.5622 GB, free: 15.03 MB / 430.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005297/0.1451, allocations: 181.4 kB / 0.5624 GB, free: 14.85 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.1451, allocations: 4 kB / 0.5624 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1451, allocations: 0 / 0.5624 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.1451, allocations: 4 kB / 0.5624 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005789/0.1457, allocations: 79.91 kB / 0.5624 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001465/0.1472, allocations: 1.496 MB / 0.5639 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002212/0.1474, allocations: 35.84 kB / 0.5639 GB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.1474, allocations: 0 / 0.5639 GB, free: 13.08 MB / 430.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.0001129/0.1475, allocations: 121.8 kB / 0.5641 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.152e-05/0.1476, allocations: 8.234 kB / 0.5641 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005265/0.1481, allocations: 178.3 kB / 0.5642 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.1481, allocations: 0 / 0.5642 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.81e-07/0.1481, allocations: 0 / 0.5642 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.1481, allocations: 3.938 kB / 0.5642 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008182/0.1489, allocations: 458.3 kB / 0.5647 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1489, allocations: 0 / 0.5647 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001645/0.1491, allocations: 35.97 kB / 0.5647 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1491, allocations: 0 / 0.5647 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.1491, allocations: 7.875 kB / 0.5647 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1491, allocations: 0 / 0.5647 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1491, allocations: 4.062 kB / 0.5647 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005271/0.1496, allocations: 263.5 kB / 0.565 GB, free: 11.94 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.157e-05/0.1497, allocations: 81.06 kB / 0.5651 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.46e-05/0.1497, allocations: 7.922 kB / 0.5651 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002099/0.1499, allocations: 23.98 kB / 0.5651 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.761e-05/0.1499, allocations: 11.98 kB / 0.5651 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.15, allocations: 0 / 0.5651 GB, free: 11.8 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.886e-05/0.15, allocations: 117.7 kB / 0.5652 GB, free: 11.69 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.15, allocations: 0 / 0.5652 GB, free: 11.69 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002694/0.1503, allocations: 24 kB / 0.5652 GB, free: 11.66 MB / 430.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.0008295/0.1511, allocations: 0.7789 MB / 0.566 GB, free: 10.86 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009013/0.152, allocations: 179.7 kB / 0.5662 GB, free: 10.68 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.152, allocations: 0 / 0.5662 GB, free: 10.68 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002376/0.1523, allocations: 64.02 kB / 0.5662 GB, free: 10.62 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.1526, allocations: 15.92 kB / 0.5662 GB, free: 10.6 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003545/0.1562, allocations: 1.982 MB / 0.5682 GB, free: 8.527 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.1565, allocations: 0.7002 MB / 0.5689 GB, free: 7.801 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.298e-05/0.1565, allocations: 8.438 kB / 0.5689 GB, free: 7.793 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.395e-05/0.1566, allocations: 35.42 kB / 0.5689 GB, free: 7.758 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1566, allocations: 0 / 0.5689 GB, free: 7.758 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02159/0.1782, allocations: 3.242 MB / 0.5721 GB, free: 4.652 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.71, allocations: 18.17 kB / 0.5721 GB, free: 4.645 MB / 430.1 MB " [Timeout remaining time 648] (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: 14.684605787042528]