Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1256,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1256,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009846/0.0009843, allocations: 91.11 kB / 16.95 MB, free: 6.383 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.001014/0.001014, allocations: 182.9 kB / 17.84 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.52/1.52, allocations: 205.4 MB / 224 MB, free: 13.15 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006002/0.0006006, allocations: 16 kB / 280.8 MB, free: 3.734 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1136, allocations: 47.57 MB / 328.3 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.002209/0.1158, allocations: 1.671 MB / 330 MB, free: 2.402 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001019/0.1169, allocations: 0.5623 MB / 330.6 MB, free: 1.832 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.859e-05/0.117, allocations: 0 / 330.6 MB, free: 1.832 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 4.564e-05/0.1171, allocations: 11.92 kB / 330.6 MB, free: 1.82 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001668/0.1173, allocations: 43.69 kB / 330.6 MB, free: 1.777 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003687/0.1176, allocations: 75.84 kB / 330.7 MB, free: 1.703 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002015/0.1179, allocations: 171.3 kB / 330.9 MB, free: 1.535 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.118, allocations: 33.47 kB / 330.9 MB, free: 1.5 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001768/0.1182, allocations: 67.7 kB / 331 MB, free: 1.434 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.1183, allocations: 71.75 kB / 331 MB, free: 1.363 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.768e-05/0.1184, allocations: 8 kB / 331.1 MB, free: 1.355 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.427e-05/0.1184, allocations: 8 kB / 331.1 MB, free: 1.348 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.411e-05/0.1184, allocations: 31.83 kB / 331.1 MB, free: 1.316 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.371e-05/0.1185, allocations: 49.64 kB / 331.1 MB, free: 1.262 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.1186, allocations: 119.9 kB / 331.3 MB, free: 1.145 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1187, allocations: 4 kB / 331.3 MB, free: 1.141 MB / 270.1 MB Notification: Performance of FrontEnd: time 9.71e-07/0.1187, allocations: 3.938 kB / 331.3 MB, free: 1.137 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.1187, allocations: 0 / 331.3 MB, free: 1.137 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0007036/0.1194, allocations: 446.7 kB / 331.7 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.1194, allocations: 12.03 kB / 331.7 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.644e-05/0.1195, allocations: 11.91 kB / 331.7 MB, free: 0.6289 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.1197, allocations: 190.8 kB / 331.9 MB, free: 412 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.1197, allocations: 15.95 kB / 331.9 MB, free: 396 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.461e-05/0.1198, allocations: 8 kB / 331.9 MB, free: 388 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003632/0.1201, allocations: 148 kB / 332.1 MB, free: 224 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.1202, allocations: 0 / 332.1 MB, free: 224 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.292e-05/0.1202, allocations: 4 kB / 332.1 MB, free: 220 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.1202, allocations: 4 kB / 332.1 MB, free: 216 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002693/0.1205, allocations: 107.8 kB / 332.2 MB, free: 108 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009476/0.1214, allocations: 0.511 MB / 332.7 MB, free: 15.54 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002919/0.1218, allocations: 110.5 kB / 332.8 MB, free: 15.42 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/0.122, allocations: 64.83 kB / 332.9 MB, free: 15.35 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.122, allocations: 8.109 kB / 332.9 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.122, allocations: 38.56 kB / 332.9 MB, free: 15.3 MB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.122, allocations: 0 / 332.9 MB, free: 15.3 MB / 286.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004576/0.1225, allocations: 153.5 kB / 333.1 MB, free: 15.14 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.1226, allocations: 106.8 kB / 333.2 MB, free: 15.01 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.1227, allocations: 162.1 kB / 333.3 MB, free: 14.84 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.1227, allocations: 25.7 kB / 333.4 MB, free: 14.81 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.099e-05/0.1228, allocations: 123.7 kB / 333.5 MB, free: 14.69 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.1229, allocations: 27.64 kB / 333.5 MB, free: 14.66 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-06/0.1229, allocations: 0 / 333.5 MB, free: 14.66 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.123, allocations: 326.8 kB / 333.8 MB, free: 14.33 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.1231, allocations: 35.98 kB / 333.9 MB, free: 14.3 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.1233, allocations: 80.27 kB / 333.9 MB, free: 14.2 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.1234, allocations: 51.94 kB / 334 MB, free: 14.15 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1234, allocations: 3.938 kB / 334 MB, free: 14.15 MB / 286.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003202/0.1238, allocations: 149.5 kB / 334.1 MB, free: 14 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.1238, allocations: 11.98 kB / 334.1 MB, free: 13.98 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.1238, allocations: 4 kB / 334.2 MB, free: 13.98 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.1238, allocations: 0 / 334.2 MB, free: 13.98 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005333/0.1244, allocations: 79.92 kB / 334.2 MB, free: 13.9 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001305/0.1257, allocations: 1.405 MB / 335.6 MB, free: 12.36 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001643/0.1258, allocations: 24.11 kB / 335.7 MB, free: 12.34 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.1259, allocations: 11.92 kB / 335.7 MB, free: 12.32 MB / 286.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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001136/0.126, allocations: 121.8 kB / 335.8 MB, free: 12.2 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.43e-05/0.126, allocations: 11.86 kB / 335.8 MB, free: 12.18 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004263/0.1265, allocations: 159.5 kB / 336 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.1265, allocations: 0 / 336 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.1265, allocations: 3.984 kB / 336 MB, free: 12.01 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.1265, allocations: 0 / 336 MB, free: 12.01 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007401/0.1272, allocations: 476.1 kB / 336.4 MB, free: 11.48 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.1273, allocations: 0 / 336.4 MB, free: 11.48 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000141/0.1274, allocations: 32.02 kB / 336.5 MB, free: 11.45 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002369/0.1276, allocations: 32.86 kB / 336.5 MB, free: 11.42 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.1277, allocations: 11.98 kB / 336.5 MB, free: 11.41 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009778/0.1287, allocations: 1.292 MB / 337.8 MB, free: 9.984 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1287, allocations: 0 / 337.8 MB, free: 9.984 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005494/0.1292, allocations: 305.1 kB / 338.1 MB, free: 9.664 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.111e-05/0.1293, allocations: 92.95 kB / 338.2 MB, free: 9.555 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.1293, allocations: 4 kB / 338.2 MB, free: 9.551 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.1295, allocations: 15.98 kB / 338.2 MB, free: 9.535 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.158e-05/0.1295, allocations: 19.92 kB / 338.2 MB, free: 9.516 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.1296, allocations: 4 kB / 338.2 MB, free: 9.512 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.174e-05/0.1297, allocations: 123.3 kB / 338.3 MB, free: 9.391 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1297, allocations: 0 / 338.3 MB, free: 9.391 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003023/0.13, allocations: 32 kB / 338.4 MB, free: 9.359 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (SaturatingInductance1.Psi,Inductance1.i) * 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): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001267/0.1301, allocations: 103.2 kB / 338.5 MB, free: 9.25 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006365/0.1307, allocations: 143.9 kB / 338.6 MB, free: 9.109 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1308, allocations: 0 / 338.6 MB, free: 9.109 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002991/0.1311, allocations: 174.5 kB / 338.8 MB, free: 8.926 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.1313, allocations: 8 kB / 338.8 MB, free: 8.918 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.1328, allocations: 0.599 MB / 339.4 MB, free: 8.293 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/0.133, allocations: 0.716 MB / 340.1 MB, free: 7.551 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.602e-05/0.1331, allocations: 16.53 kB / 340.1 MB, free: 7.535 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.969e-05/0.1331, allocations: 11.44 kB / 340.1 MB, free: 7.523 MB / 286.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1331, allocations: 4 kB / 340.1 MB, free: 7.52 MB / 286.1 MB Notification: Performance of Templates: time 0.004275/0.1374, allocations: 1.471 MB / 341.6 MB, free: 6.051 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches