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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002025/0.002025, allocations: 108.7 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002059/0.00206, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 222.9 MB / 241.8 MB, free: 15.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2037/0.2037, allocations: 44.17 MB / 336.1 MB, free: 3.027 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001396, allocations: 71.88 kB / 407.8 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1078, allocations: 60.83 MB / 468.6 MB, free: 2.949 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003161/0.111, allocations: 1.94 MB / 470.6 MB, free: 0.9883 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008884/0.1119, allocations: 0.5378 MB / 471.1 MB, free: 456 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.958e-05/0.112, allocations: 0 / 471.1 MB, free: 456 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.487e-05/0.1121, allocations: 15.91 kB / 471.1 MB, free: 440 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002082/0.1123, allocations: 35.72 kB / 471.2 MB, free: 404 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002417/0.1125, allocations: 79.34 kB / 471.2 MB, free: 328 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001577/0.1127, allocations: 143.4 kB / 471.4 MB, free: 184 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.1128, allocations: 21.12 kB / 471.4 MB, free: 164 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001638/0.113, allocations: 71.69 kB / 471.5 MB, free: 92 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.961e-05/0.1131, allocations: 63.75 kB / 471.5 MB, free: 28 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.733e-05/0.1131, allocations: 8 kB / 471.5 MB, free: 20 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.768e-05/0.1132, allocations: 8 kB / 471.5 MB, free: 12 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.739e-05/0.1132, allocations: 27.94 kB / 471.6 MB, free: 15.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.341e-05/0.1133, allocations: 51.69 kB / 471.6 MB, free: 15.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000154/0.1135, allocations: 139.8 kB / 471.8 MB, free: 15.8 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1135, allocations: 0 / 471.8 MB, free: 15.8 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1135, allocations: 0 / 471.8 MB, free: 15.8 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1135, allocations: 7.938 kB / 471.8 MB, free: 15.79 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.0007883/0.1143, allocations: 451 kB / 472.2 MB, free: 15.3 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.1143, allocations: 8.031 kB / 472.2 MB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.562e-05/0.1144, allocations: 38.75 kB / 472.3 MB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.1144, allocations: 8.844 kB / 472.3 MB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.1146, allocations: 196.1 kB / 472.5 MB, free: 15.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.1146, allocations: 384 / 472.5 MB, free: 15.01 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.1146, allocations: 16.31 kB / 472.5 MB, free: 14.99 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003393/0.115, allocations: 136.3 kB / 472.6 MB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.115, allocations: 0 / 472.6 MB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.115, allocations: 4 kB / 472.6 MB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.1151, allocations: 7.984 kB / 472.6 MB, free: 14.83 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003548/0.1154, allocations: 109.9 kB / 472.7 MB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008325/0.1163, allocations: 451.3 kB / 473.2 MB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003177/0.1166, allocations: 94.52 kB / 473.3 MB, free: 14.13 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/0.1168, allocations: 44.92 kB / 473.3 MB, free: 14.08 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.1168, allocations: 0 / 473.3 MB, free: 14.08 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.1168, allocations: 30.56 kB / 473.3 MB, free: 14.04 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1168, allocations: 0 / 473.3 MB, free: 14.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.001412/0.1182, allocations: 313.2 kB / 473.6 MB, free: 13.73 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.791e-05/0.1183, allocations: 102.8 kB / 473.7 MB, free: 13.61 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.1184, allocations: 156.8 kB / 473.9 MB, free: 13.45 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.1185, allocations: 25.7 kB / 473.9 MB, free: 13.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.923e-05/0.1185, allocations: 116.1 kB / 474 MB, free: 13.29 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.1186, allocations: 15.81 kB / 474 MB, free: 13.28 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.511e-05/0.1186, allocations: 29.61 kB / 474.1 MB, free: 13.24 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.977e-05/0.1187, allocations: 326.8 kB / 474.4 MB, free: 12.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002327/0.119, allocations: 59.89 kB / 474.4 MB, free: 12.86 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002493/0.1192, allocations: 96.23 kB / 474.5 MB, free: 12.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004351/0.1197, allocations: 134.5 kB / 474.7 MB, free: 12.61 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1197, allocations: 0 / 474.7 MB, free: 12.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005228/0.1202, allocations: 173.4 kB / 474.8 MB, free: 12.43 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.1203, allocations: 12 kB / 474.9 MB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1203, allocations: 4 kB / 474.9 MB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.1203, allocations: 0 / 474.9 MB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006268/0.1209, allocations: 83.91 kB / 474.9 MB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001356/0.1223, allocations: 1.405 MB / 476.3 MB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000234/0.1225, allocations: 24.16 kB / 476.4 MB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.1226, allocations: 8.281 kB / 476.4 MB, free: 10.76 MB / 398.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.0001066/0.1227, allocations: 133.3 kB / 476.5 MB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.91e-05/0.1227, allocations: 7.906 kB / 476.5 MB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000512/0.1232, allocations: 166.3 kB / 476.7 MB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1233, allocations: 0 / 476.7 MB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.1233, allocations: 192 / 476.7 MB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.1233, allocations: 3.984 kB / 476.7 MB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008155/0.1241, allocations: 474.1 kB / 477.1 MB, free: 9.922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1241, allocations: 0 / 477.1 MB, free: 9.922 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001742/0.1243, allocations: 32.03 kB / 477.2 MB, free: 9.891 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1243, allocations: 0 / 477.2 MB, free: 9.891 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.1243, allocations: 8 kB / 477.2 MB, free: 9.883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1243, allocations: 0 / 477.2 MB, free: 9.883 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.1243, allocations: 4 kB / 477.2 MB, free: 9.879 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005254/0.1249, allocations: 251.2 kB / 477.4 MB, free: 9.617 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.095e-05/0.1249, allocations: 85.02 kB / 477.5 MB, free: 9.516 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.322e-05/0.1249, allocations: 0 / 477.5 MB, free: 9.516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/0.1252, allocations: 23.97 kB / 477.5 MB, free: 9.492 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.169e-05/0.1252, allocations: 11.98 kB / 477.5 MB, free: 9.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.1252, allocations: 3.938 kB / 477.6 MB, free: 9.477 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.473e-05/0.1253, allocations: 111.3 kB / 477.7 MB, free: 9.367 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1253, allocations: 0 / 477.7 MB, free: 9.367 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002802/0.1256, allocations: 28 kB / 477.7 MB, free: 9.34 MB / 398.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.0007804/0.1264, allocations: 0.7873 MB / 478.5 MB, free: 8.527 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008962/0.1273, allocations: 172 kB / 478.6 MB, free: 8.359 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1273, allocations: 0 / 478.6 MB, free: 8.359 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002525/0.1276, allocations: 63.89 kB / 478.7 MB, free: 8.297 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.1279, allocations: 15.94 kB / 478.7 MB, free: 8.281 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003375/0.1313, allocations: 2.012 MB / 480.7 MB, free: 6.176 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.1316, allocations: 0.7004 MB / 481.4 MB, free: 5.449 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.763e-05/0.1317, allocations: 12.44 kB / 481.4 MB, free: 5.438 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.447e-05/0.1318, allocations: 31.42 kB / 481.5 MB, free: 5.406 MB / 398.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1318, allocations: 0 / 481.5 MB, free: 5.406 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01502/0.1468, allocations: 2.87 MB / 484.3 MB, free: 2.684 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002016/0.1471, allocations: 242.7 kB / 484.6 MB, free: 2.426 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.724/1.872, allocations: 0 / 484.6 MB, free: 2.426 MB / 398.1 MB (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 --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) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches