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.001286/0.001286, allocations: 110.1 kB / 17.86 MB, free: 5.504 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.001292/0.001292, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.396/1.396, allocations: 222.9 MB / 242.5 MB, free: 13.64 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.2229/0.2229, allocations: 44.18 MB / 336.8 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 60.89 kB / 408.3 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09622/0.09745, allocations: 60.84 MB / 469.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003235/0.1007, allocations: 1.952 MB / 471.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008628/0.1016, allocations: 0.5261 MB / 471.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.263e-05/0.1017, allocations: 0 / 471.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.973e-05/0.1018, allocations: 15.91 kB / 471.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001865/0.102, allocations: 31.72 kB / 471.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002352/0.1022, allocations: 79.89 kB / 471.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.1024, allocations: 143.4 kB / 471.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.1025, allocations: 24.98 kB / 471.9 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001623/0.1027, allocations: 71.69 kB / 472 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.1028, allocations: 55.83 kB / 472.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.647e-05/0.1028, allocations: 11.94 kB / 472.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.566e-05/0.1029, allocations: 8 kB / 472.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.71e-05/0.1029, allocations: 31.83 kB / 472.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.608e-05/0.103, allocations: 51.78 kB / 472.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.1031, allocations: 104 kB / 472.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1031, allocations: 3.938 kB / 472.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.1031, allocations: 0 / 472.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1031, allocations: 0 / 472.3 MB, free: 11.68 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.0008281/0.104, allocations: 447.1 kB / 472.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.104, allocations: 12.03 kB / 472.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.89e-05/0.1041, allocations: 12.75 kB / 472.7 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.1042, allocations: 192.2 kB / 472.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.1043, allocations: 384 / 472.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/0.1043, allocations: 12.38 kB / 472.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003445/0.1046, allocations: 146.9 kB / 473.1 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.1047, allocations: 0 / 473.1 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.698e-05/0.1047, allocations: 4 kB / 473.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.453e-06/0.1047, allocations: 4 kB / 473.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003497/0.1051, allocations: 103.8 kB / 473.2 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008181/0.1059, allocations: 455.4 kB / 473.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00031/0.1062, allocations: 90.47 kB / 473.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001603/0.1064, allocations: 44.92 kB / 473.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.1064, allocations: 0 / 473.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.1064, allocations: 30.56 kB / 473.8 MB, free: 9.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.1064, allocations: 0 / 473.8 MB, free: 9.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.001399/0.1079, allocations: 317.1 kB / 474.1 MB, free: 9.664 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.409e-05/0.1079, allocations: 102.8 kB / 474.2 MB, free: 9.539 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.1081, allocations: 149.8 kB / 474.4 MB, free: 9.383 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.1081, allocations: 25.7 kB / 474.4 MB, free: 9.352 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.91e-05/0.1082, allocations: 112.1 kB / 474.5 MB, free: 9.234 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.174e-05/0.1082, allocations: 23.66 kB / 474.5 MB, free: 9.211 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.053e-05/0.1083, allocations: 25.7 kB / 474.5 MB, free: 9.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.1084, allocations: 326.8 kB / 474.9 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002392/0.1086, allocations: 55.95 kB / 474.9 MB, free: 8.797 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002649/0.1089, allocations: 100.2 kB / 475 MB, free: 8.684 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004357/0.1094, allocations: 130.5 kB / 475.1 MB, free: 8.547 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1094, allocations: 0 / 475.1 MB, free: 8.547 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005249/0.1099, allocations: 185.3 kB / 475.3 MB, free: 8.359 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.1099, allocations: 11.94 kB / 475.3 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1099, allocations: 64 / 475.3 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.11, allocations: 4 kB / 475.3 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006123/0.1106, allocations: 91.84 kB / 475.4 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001349/0.1119, allocations: 1.398 MB / 476.8 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002308/0.1122, allocations: 32.06 kB / 476.9 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.1122, allocations: 4 kB / 476.9 MB, free: 6.688 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.783e-05/0.1123, allocations: 125.7 kB / 477 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.7e-05/0.1123, allocations: 7.906 kB / 477 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000529/0.1129, allocations: 174.2 kB / 477.2 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1129, allocations: 288 / 477.2 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.1129, allocations: 0 / 477.2 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.1129, allocations: 0 / 477.2 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000779/0.1137, allocations: 466.3 kB / 477.6 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1137, allocations: 0 / 477.6 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001695/0.1139, allocations: 31.97 kB / 477.6 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1139, allocations: 192 / 477.6 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.1139, allocations: 4 kB / 477.6 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1139, allocations: 3.938 kB / 477.7 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1139, allocations: 4 kB / 477.7 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005237/0.1144, allocations: 255.2 kB / 477.9 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.18e-05/0.1145, allocations: 81.02 kB / 478 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.1145, allocations: 0 / 478 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002182/0.1148, allocations: 23.97 kB / 478 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.823e-05/0.1148, allocations: 15.98 kB / 478 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.1148, allocations: 0 / 478 MB, free: 5.414 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.754e-05/0.1149, allocations: 117.6 kB / 478.1 MB, free: 5.301 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1149, allocations: 0 / 478.1 MB, free: 5.301 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002711/0.1152, allocations: 28 kB / 478.2 MB, free: 5.273 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.408e-05/0.1153, allocations: 95.78 kB / 478.3 MB, free: 5.172 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008693/0.1162, allocations: 176.1 kB / 478.4 MB, free: 5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1162, allocations: 0 / 478.4 MB, free: 5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000232/0.1164, allocations: 68.22 kB / 478.5 MB, free: 4.934 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.1168, allocations: 12 kB / 478.5 MB, free: 4.922 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.1181, allocations: 447.9 kB / 478.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.1184, allocations: 0.7043 MB / 479.7 MB, free: 3.723 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.329e-05/0.1184, allocations: 15.42 kB / 479.7 MB, free: 3.707 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1185, allocations: 0 / 479.7 MB, free: 3.707 MB / 350.1 MB Notification: Performance of Templates: time 0.003311/0.1218, allocations: 1.816 MB / 481.5 MB, free: 1.891 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 -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