Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 114.2 kB / 18.5 MB, free: 4.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 189.2 kB / 21.44 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 225.6 MB / 249.8 MB, free: 3.633 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2318/0.2318, allocations: 44.91 MB / 349.6 MB, free: 1.738 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestSaturatingInductor,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestSaturatingInductor,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 63.17 kB / 491.8 MB, free: 30.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1131, allocations: 64.26 MB / 0.543 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003446/0.1166, allocations: 1.901 MB / 0.5448 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009843/0.1176, allocations: 0.5532 MB / 0.5454 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.631e-05/0.1176, allocations: 0 / 0.5454 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.855e-05/0.1177, allocations: 15.86 kB / 0.5454 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002135/0.1179, allocations: 39.69 kB / 0.5454 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002534/0.1182, allocations: 79.83 kB / 0.5455 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002205/0.1184, allocations: 151.4 kB / 0.5457 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.1185, allocations: 25.34 kB / 0.5457 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001874/0.1187, allocations: 75.75 kB / 0.5458 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.1188, allocations: 67.69 kB / 0.5458 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.874e-05/0.1189, allocations: 12 kB / 0.5458 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.655e-05/0.1189, allocations: 12 kB / 0.5458 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.148e-05/0.1189, allocations: 31.91 kB / 0.5459 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.078e-05/0.119, allocations: 63.72 kB / 0.5459 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002092/0.1192, allocations: 135.4 kB / 0.5461 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1192, allocations: 0 / 0.5461 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1192, allocations: 4 kB / 0.5461 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.1192, allocations: 0 / 0.5461 GB, free: 0.9648 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.0008499/0.1201, allocations: 454.9 kB / 0.5465 GB, free: 484 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.1201, allocations: 8.031 kB / 0.5465 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.431e-05/0.1202, allocations: 38.75 kB / 0.5465 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.053e-05/0.1202, allocations: 8.891 kB / 0.5466 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.1204, allocations: 204.1 kB / 0.5467 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.1204, allocations: 4.375 kB / 0.5468 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.992e-05/0.1205, allocations: 8.375 kB / 0.5468 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000337/0.1208, allocations: 142.1 kB / 0.5469 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.1208, allocations: 0 / 0.5469 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.1208, allocations: 4 kB / 0.5469 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.236e-05/0.1209, allocations: 8.047 kB / 0.5469 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000323/0.1212, allocations: 91.88 kB / 0.547 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008869/0.1221, allocations: 455.4 kB / 0.5474 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003257/0.1224, allocations: 86.53 kB / 0.5475 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.1225, allocations: 44.86 kB / 0.5476 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.1226, allocations: 4 kB / 0.5476 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.1226, allocations: 30.56 kB / 0.5476 GB, free: 15.22 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.1226, allocations: 4 kB / 0.5476 GB, free: 15.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.001366/0.1239, allocations: 317.1 kB / 0.5479 GB, free: 14.9 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.02e-05/0.124, allocations: 110.8 kB / 0.548 GB, free: 14.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.1242, allocations: 147.5 kB / 0.5481 GB, free: 14.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.1242, allocations: 25.7 kB / 0.5482 GB, free: 14.58 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.736e-05/0.1243, allocations: 124.1 kB / 0.5483 GB, free: 14.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.263e-05/0.1243, allocations: 15.8 kB / 0.5483 GB, free: 14.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.217e-05/0.1244, allocations: 33.7 kB / 0.5483 GB, free: 14.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.1245, allocations: 326.8 kB / 0.5486 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002201/0.1247, allocations: 55.95 kB / 0.5487 GB, free: 14.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002464/0.125, allocations: 96.23 kB / 0.5488 GB, free: 13.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004174/0.1254, allocations: 134.5 kB / 0.5489 GB, free: 13.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1254, allocations: 4 kB / 0.5489 GB, free: 13.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005031/0.1259, allocations: 181.5 kB / 0.5491 GB, free: 13.58 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.1259, allocations: 7.938 kB / 0.5491 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.1259, allocations: 0 / 0.5491 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.1259, allocations: 4 kB / 0.5491 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005941/0.1265, allocations: 79.91 kB / 0.5492 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001598/0.1281, allocations: 1.504 MB / 0.5506 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002231/0.1284, allocations: 28.03 kB / 0.5507 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.1284, allocations: 3.938 kB / 0.5507 GB, free: 11.81 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.0001147/0.1285, allocations: 121.8 kB / 0.5508 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.791e-05/0.1285, allocations: 7.953 kB / 0.5508 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005124/0.129, allocations: 178.2 kB / 0.551 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.129, allocations: 0 / 0.551 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.129, allocations: 288 / 0.551 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.129, allocations: 0 / 0.551 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008366/0.1299, allocations: 458.4 kB / 0.5514 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.1299, allocations: 3.984 kB / 0.5514 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001772/0.1301, allocations: 35.91 kB / 0.5514 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.1301, allocations: 0 / 0.5514 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.1301, allocations: 0 / 0.5514 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.1301, allocations: 3.938 kB / 0.5515 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1301, allocations: 4 kB / 0.5515 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005176/0.1306, allocations: 251.4 kB / 0.5517 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.103e-05/0.1306, allocations: 81.06 kB / 0.5518 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.1307, allocations: 7.984 kB / 0.5518 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.1309, allocations: 31.91 kB / 0.5518 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.398e-05/0.1309, allocations: 4.188 kB / 0.5518 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.1309, allocations: 4 kB / 0.5518 GB, free: 10.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.219e-05/0.131, allocations: 121.2 kB / 0.5519 GB, free: 10.42 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.131, allocations: 0 / 0.5519 GB, free: 10.42 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002878/0.1313, allocations: 28 kB / 0.552 GB, free: 10.39 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.00083/0.1322, allocations: 0.7748 MB / 0.5527 GB, free: 9.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008697/0.133, allocations: 171.8 kB / 0.5529 GB, free: 9.422 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.133, allocations: 0 / 0.5529 GB, free: 9.422 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002242/0.1332, allocations: 68.06 kB / 0.5529 GB, free: 9.355 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.1336, allocations: 19.92 kB / 0.553 GB, free: 9.336 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003521/0.1371, allocations: 1.986 MB / 0.5549 GB, free: 7.254 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.1375, allocations: 0.7001 MB / 0.5556 GB, free: 6.527 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.119e-05/0.1375, allocations: 12.44 kB / 0.5556 GB, free: 6.516 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.43e-05/0.1376, allocations: 35.42 kB / 0.5556 GB, free: 6.48 MB / 414.1 MB Notification: Performance of SimCode: time 4.9e-07/0.1376, allocations: 0 / 0.5556 GB, free: 6.48 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02805/0.1657, allocations: 3.198 MB / 0.5588 GB, free: 3.43 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.04, allocations: 12.88 kB / 0.5588 GB, free: 3.426 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestSaturatingInductor_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestSaturatingInductor.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 15.059381623752415]