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.001086/0.001086, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001253/0.001253, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.388/1.388, allocations: 222.9 MB / 243 MB, free: 15.14 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.2138/0.2138, allocations: 44.19 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001327, allocations: 73.14 kB / 409.9 MB, free: 26.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1091, allocations: 60.83 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003349/0.1125, allocations: 1.891 MB / 472.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009444/0.1134, allocations: 0.5377 MB / 473.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.101e-05/0.1135, allocations: 4 kB / 473.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.85e-05/0.1136, allocations: 15.8 kB / 473.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001893/0.1138, allocations: 43.69 kB / 473.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002344/0.114, allocations: 79.83 kB / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001596/0.1142, allocations: 147.4 kB / 473.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.1143, allocations: 40.95 kB / 473.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.1145, allocations: 67.77 kB / 473.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.697e-05/0.1146, allocations: 63.75 kB / 473.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.551e-05/0.1146, allocations: 16 kB / 473.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.28e-05/0.1147, allocations: 12 kB / 473.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.601e-05/0.1147, allocations: 35.84 kB / 473.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.728e-05/0.1148, allocations: 59.66 kB / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000153/0.1149, allocations: 143.5 kB / 473.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1149, allocations: 0 / 473.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.115, allocations: 0 / 473.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.115, allocations: 0 / 473.8 MB, free: 10.46 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.0007335/0.1157, allocations: 443 kB / 474.3 MB, free: 9.984 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.1157, allocations: 12.03 kB / 474.3 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.663e-05/0.1158, allocations: 16.73 kB / 474.3 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.1159, allocations: 191.6 kB / 474.5 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.116, allocations: 4.375 kB / 474.5 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.639e-05/0.116, allocations: 12.38 kB / 474.5 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003141/0.1163, allocations: 148.4 kB / 474.7 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.1163, allocations: 0 / 474.7 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.1164, allocations: 0 / 474.7 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.1164, allocations: 7.938 kB / 474.7 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003138/0.1167, allocations: 99.86 kB / 474.8 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007682/0.1175, allocations: 443.4 kB / 475.2 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002872/0.1178, allocations: 94.47 kB / 475.3 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.1179, allocations: 40.92 kB / 475.3 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.1179, allocations: 11.98 kB / 475.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.118, allocations: 38.55 kB / 475.4 MB, free: 8.758 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.123e-06/0.118, allocations: 0 / 475.4 MB, free: 8.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.001287/0.1193, allocations: 309.1 kB / 475.7 MB, free: 8.449 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.1193, allocations: 106.8 kB / 475.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.1195, allocations: 145.8 kB / 475.9 MB, free: 8.168 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.1195, allocations: 29.7 kB / 475.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.361e-05/0.1196, allocations: 112.1 kB / 476.1 MB, free: 8.016 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.787e-05/0.1196, allocations: 19.66 kB / 476.1 MB, free: 7.996 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.603e-05/0.1196, allocations: 29.7 kB / 476.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.042e-05/0.1197, allocations: 318.8 kB / 476.4 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002219/0.12, allocations: 63.94 kB / 476.5 MB, free: 7.578 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002376/0.1202, allocations: 96.19 kB / 476.6 MB, free: 7.469 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003951/0.1206, allocations: 130.5 kB / 476.7 MB, free: 7.332 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1206, allocations: 0 / 476.7 MB, free: 7.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004732/0.1211, allocations: 177.4 kB / 476.9 MB, free: 7.152 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.1211, allocations: 11.88 kB / 476.9 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.1211, allocations: 4.188 kB / 476.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.1212, allocations: 4.062 kB / 476.9 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005804/0.1218, allocations: 87.84 kB / 477 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001311/0.1231, allocations: 1.496 MB / 478.5 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002145/0.1233, allocations: 28.16 kB / 478.5 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.1233, allocations: 4 kB / 478.5 MB, free: 5.379 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 9.205e-05/0.1234, allocations: 129.7 kB / 478.6 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.238e-05/0.1235, allocations: 11.89 kB / 478.6 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004792/0.124, allocations: 170.2 kB / 478.8 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.124, allocations: 0 / 478.8 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.22e-07/0.124, allocations: 0 / 478.8 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.124, allocations: 4 kB / 478.8 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007437/0.1247, allocations: 462.5 kB / 479.3 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1248, allocations: 7.938 kB / 479.3 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.1249, allocations: 23.97 kB / 479.3 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1249, allocations: 0 / 479.3 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.125, allocations: 12.06 kB / 479.3 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.125, allocations: 7.922 kB / 479.3 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.125, allocations: 80 / 479.3 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000495/0.1255, allocations: 251.3 kB / 479.6 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.125e-05/0.1255, allocations: 85 kB / 479.6 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.1255, allocations: 8 kB / 479.7 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.1258, allocations: 23.91 kB / 479.7 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/0.1258, allocations: 4 kB / 479.7 MB, free: 4.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.1258, allocations: 0 / 479.7 MB, free: 4.098 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.845e-05/0.1259, allocations: 121.7 kB / 479.8 MB, free: 3.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1259, allocations: 0 / 479.8 MB, free: 3.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002679/0.1262, allocations: 32 kB / 479.8 MB, free: 3.949 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 7.643e-05/0.1263, allocations: 91.25 kB / 479.9 MB, free: 3.852 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008458/0.1271, allocations: 179.9 kB / 480.1 MB, free: 3.676 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1271, allocations: 0 / 480.1 MB, free: 3.676 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002179/0.1274, allocations: 63.95 kB / 480.2 MB, free: 3.613 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.1277, allocations: 12 kB / 480.2 MB, free: 3.602 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.1289, allocations: 391.6 kB / 480.6 MB, free: 3.191 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/0.1291, allocations: 0.7002 MB / 481.3 MB, free: 2.465 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.106e-05/0.1292, allocations: 8.438 kB / 481.3 MB, free: 2.457 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.056e-05/0.1292, allocations: 19.42 kB / 481.3 MB, free: 2.438 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1292, allocations: 0 / 481.3 MB, free: 2.438 MB / 350.1 MB Notification: Performance of Templates: time 0.004043/0.1333, allocations: 1.695 MB / 483 MB, free: 0.7539 MB / 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 -s gbode -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