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: translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor") translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 93.38 kB / 18.01 MB, free: 5.738 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.001571/0.001571, allocations: 176.8 kB / 18.91 MB, free: 4.871 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.475/1.475, allocations: 223.3 MB / 243 MB, free: 14.36 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.2308/0.2308, allocations: 44.23 MB / 338.3 MB, free: 2.418 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003194/0.0003197, allocations: 8 kB / 411 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1109, allocations: 61.92 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.002286/0.1132, allocations: 1.601 MB / 474.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.1143, allocations: 0.5183 MB / 475 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.064e-05/0.1144, allocations: 0 / 475 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.071e-05/0.1144, allocations: 19.92 kB / 475.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002276/0.1147, allocations: 31.7 kB / 475.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000256/0.1149, allocations: 75.89 kB / 475.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.1151, allocations: 143.4 kB / 475.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.1152, allocations: 28.97 kB / 475.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/0.1154, allocations: 59.77 kB / 475.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.1155, allocations: 63.75 kB / 475.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.554e-05/0.1156, allocations: 4 kB / 475.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.425e-05/0.1156, allocations: 8 kB / 475.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.291e-05/0.1157, allocations: 27.84 kB / 475.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.1158, allocations: 77.42 kB / 475.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001221/0.1159, allocations: 103.9 kB / 475.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1159, allocations: 4 kB / 475.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1159, allocations: 0 / 475.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.1159, allocations: 0 / 475.7 MB, free: 10.54 MB / 350.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.0007724/0.1167, allocations: 439.1 kB / 476.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.1168, allocations: 8.031 kB / 476.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.38e-05/0.1168, allocations: 16.84 kB / 476.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.117, allocations: 188.1 kB / 476.3 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.117, allocations: 4.375 kB / 476.3 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.865e-05/0.117, allocations: 12.31 kB / 476.3 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003367/0.1174, allocations: 144.5 kB / 476.5 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.1174, allocations: 3.938 kB / 476.5 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.1174, allocations: 8 kB / 476.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1174, allocations: 0 / 476.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003438/0.1178, allocations: 111.9 kB / 476.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009938/0.1188, allocations: 459.4 kB / 477 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003045/0.1191, allocations: 98.47 kB / 477.1 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.1193, allocations: 48.92 kB / 477.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.1193, allocations: 3.984 kB / 477.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.1193, allocations: 34.55 kB / 477.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.1194, allocations: 0 / 477.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.001407/0.1208, allocations: 365.1 kB / 477.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.83e-05/0.1209, allocations: 110.8 kB / 477.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.121, allocations: 144.1 kB / 477.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.121, allocations: 25.7 kB / 477.8 MB, free: 8.133 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.397e-05/0.1211, allocations: 116 kB / 478 MB, free: 8.012 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.1211, allocations: 23.73 kB / 478 MB, free: 7.988 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.993e-05/0.1211, allocations: 13.72 kB / 478 MB, free: 7.969 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.1213, allocations: 318.8 kB / 478.3 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002406/0.1215, allocations: 71.95 kB / 478.4 MB, free: 7.578 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002552/0.1218, allocations: 112.2 kB / 478.5 MB, free: 7.453 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000455/0.1222, allocations: 154.5 kB / 478.6 MB, free: 7.293 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1222, allocations: 0 / 478.6 MB, free: 7.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005247/0.1228, allocations: 197.4 kB / 478.8 MB, free: 7.094 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.1228, allocations: 7.938 kB / 478.8 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1228, allocations: 3.938 kB / 478.8 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.1228, allocations: 0 / 478.8 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005661/0.1234, allocations: 99.97 kB / 478.9 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001296/0.1247, allocations: 1.401 MB / 480.3 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/0.1249, allocations: 36.19 kB / 480.4 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.125, allocations: 7.984 kB / 480.4 MB, free: 5.406 MB / 350.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.000109/0.1251, allocations: 117.8 kB / 480.5 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.512e-05/0.1251, allocations: 11.84 kB / 480.5 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005146/0.1256, allocations: 198.3 kB / 480.7 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1256, allocations: 0 / 480.7 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1257, allocations: 4.188 kB / 480.7 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1257, allocations: 0 / 480.7 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008013/0.1265, allocations: 490.2 kB / 481.2 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.1265, allocations: 4 kB / 481.2 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.1267, allocations: 35.97 kB / 481.2 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1267, allocations: 0 / 481.2 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.1267, allocations: 3.984 kB / 481.2 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1267, allocations: 0 / 481.2 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1267, allocations: 64 / 481.2 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005321/0.1272, allocations: 279.2 kB / 481.5 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.846e-05/0.1273, allocations: 89 kB / 481.6 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.1273, allocations: 0 / 481.6 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/0.1275, allocations: 35.97 kB / 481.6 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.146e-05/0.1276, allocations: 4.281 kB / 481.6 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.1276, allocations: 3.984 kB / 481.6 MB, free: 4.051 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.827e-05/0.1277, allocations: 114 kB / 481.7 MB, free: 3.941 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1277, allocations: 0 / 481.7 MB, free: 3.941 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002657/0.128, allocations: 28 kB / 481.8 MB, free: 3.914 MB / 350.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 8.889e-05/0.1281, allocations: 95.78 kB / 481.9 MB, free: 3.812 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008753/0.1289, allocations: 203.9 kB / 482.1 MB, free: 3.613 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.129, allocations: 4 kB / 482.1 MB, free: 3.609 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000238/0.1292, allocations: 71.95 kB / 482.1 MB, free: 3.539 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.1295, allocations: 14.73 kB / 482.2 MB, free: 3.527 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.1308, allocations: 463.1 kB / 482.6 MB, free: 3.035 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.131, allocations: 0.7004 MB / 483.3 MB, free: 2.309 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.173e-05/0.1311, allocations: 19.36 kB / 483.3 MB, free: 2.289 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1311, allocations: 0 / 483.3 MB, free: 2.289 MB / 350.1 MB Notification: Performance of Templates: time 0.00348/0.1346, allocations: 1.805 MB / 485.1 MB, free: 496 kB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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