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.001058/0.001058, allocations: 97.88 kB / 16.93 MB, free: 5.984 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.001109/0.001109, allocations: 179.3 kB / 17.82 MB, free: 5.652 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.398/1.398, allocations: 205.4 MB / 224 MB, free: 13.16 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.0005398/0.0005401, allocations: 8 kB / 280.7 MB, free: 3.762 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1118, allocations: 47.58 MB / 328.3 MB, free: 4.109 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.002306/0.1141, allocations: 1.617 MB / 329.9 MB, free: 2.477 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.1153, allocations: 0.5585 MB / 330.5 MB, free: 1.91 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.767e-05/0.1154, allocations: 0 / 330.5 MB, free: 1.91 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 5.109e-05/0.1155, allocations: 15.91 kB / 330.5 MB, free: 1.895 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00016/0.1157, allocations: 43.84 kB / 330.6 MB, free: 1.852 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000362/0.116, allocations: 79.83 kB / 330.6 MB, free: 1.773 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.1162, allocations: 115.8 kB / 330.8 MB, free: 1.66 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001903/0.1164, allocations: 45.39 kB / 330.8 MB, free: 1.613 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002317/0.1167, allocations: 63.77 kB / 330.9 MB, free: 1.551 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.1168, allocations: 71.73 kB / 330.9 MB, free: 1.48 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.224e-05/0.1169, allocations: 11.94 kB / 330.9 MB, free: 1.469 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.95e-05/0.1169, allocations: 8 kB / 330.9 MB, free: 1.461 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.54e-05/0.1169, allocations: 23.91 kB / 331 MB, free: 1.438 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.83e-05/0.117, allocations: 49.64 kB / 331 MB, free: 1.383 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.1172, allocations: 123.9 kB / 331.1 MB, free: 1.262 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1172, allocations: 8 kB / 331.1 MB, free: 1.254 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1172, allocations: 0 / 331.1 MB, free: 1.254 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.1172, allocations: 0 / 331.1 MB, free: 1.254 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.0007447/0.1179, allocations: 446.7 kB / 331.6 MB, free: 0.7695 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.118, allocations: 12.03 kB / 331.6 MB, free: 0.7578 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.299e-05/0.1181, allocations: 11.91 kB / 331.6 MB, free: 0.7461 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.1183, allocations: 190.8 kB / 331.8 MB, free: 0.5195 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.1183, allocations: 11.95 kB / 331.8 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.559e-05/0.1183, allocations: 11.94 kB / 331.8 MB, free: 0.4961 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003471/0.1187, allocations: 152 kB / 332 MB, free: 340 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.1187, allocations: 3.938 kB / 332 MB, free: 336 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.395e-05/0.1187, allocations: 4 kB / 332 MB, free: 332 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.1188, allocations: 4 kB / 332 MB, free: 328 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002753/0.119, allocations: 91.94 kB / 332.1 MB, free: 236 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/0.1201, allocations: 0.511 MB / 332.6 MB, free: 15.66 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002951/0.1204, allocations: 106.5 kB / 332.7 MB, free: 15.55 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.1205, allocations: 7.953 kB / 332.7 MB, free: 15.54 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.1205, allocations: 34.5 kB / 332.7 MB, free: 15.5 MB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.1205, allocations: 4 kB / 332.7 MB, free: 15.49 MB / 286.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005088/0.121, allocations: 157.7 kB / 332.9 MB, free: 15.33 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.456e-05/0.1211, allocations: 110.8 kB / 333 MB, free: 15.2 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.1213, allocations: 154.1 kB / 333.1 MB, free: 15.04 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.1213, allocations: 29.7 kB / 333.2 MB, free: 15 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.972e-05/0.1214, allocations: 123.7 kB / 333.3 MB, free: 14.88 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.332e-05/0.1214, allocations: 27.64 kB / 333.3 MB, free: 14.85 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.754e-06/0.1215, allocations: 0 / 333.3 MB, free: 14.85 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1216, allocations: 322.8 kB / 333.6 MB, free: 14.53 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.1217, allocations: 43.98 kB / 333.7 MB, free: 14.48 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.1219, allocations: 88.12 kB / 333.8 MB, free: 14.38 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.122, allocations: 48.02 kB / 333.8 MB, free: 14.34 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1221, allocations: 0 / 333.8 MB, free: 14.34 MB / 286.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003075/0.1224, allocations: 145.5 kB / 334 MB, free: 14.19 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.1224, allocations: 7.953 kB / 334 MB, free: 14.18 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.1224, allocations: 8.031 kB / 334 MB, free: 14.17 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.1224, allocations: 0 / 334 MB, free: 14.17 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005737/0.123, allocations: 79.92 kB / 334 MB, free: 14.09 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001332/0.1244, allocations: 1.413 MB / 335.5 MB, free: 12.54 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/0.1245, allocations: 24.17 kB / 335.5 MB, free: 12.52 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.1246, allocations: 7.984 kB / 335.5 MB, free: 12.51 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.0001169/0.1247, allocations: 117.8 kB / 335.6 MB, free: 12.39 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.1247, allocations: 15.86 kB / 335.6 MB, free: 12.37 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004449/0.1252, allocations: 171.1 kB / 335.8 MB, free: 12.19 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.1252, allocations: 0 / 335.8 MB, free: 12.19 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.1252, allocations: 4 kB / 335.8 MB, free: 12.19 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1252, allocations: 0 / 335.8 MB, free: 12.19 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002275/0.1254, allocations: 229.5 kB / 336 MB, free: 11.91 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.1255, allocations: 3.953 kB / 336 MB, free: 11.91 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/0.1256, allocations: 23.98 kB / 336 MB, free: 11.89 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002564/0.1259, allocations: 36.83 kB / 336.1 MB, free: 11.85 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.1259, allocations: 4 kB / 336.1 MB, free: 11.84 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009552/0.1268, allocations: 1.304 MB / 337.4 MB, free: 10.41 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1269, allocations: 0 / 337.4 MB, free: 10.41 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005582/0.1274, allocations: 304.8 kB / 337.7 MB, free: 10.09 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.518e-05/0.1275, allocations: 97 kB / 337.8 MB, free: 9.98 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.1275, allocations: 4 kB / 337.8 MB, free: 9.977 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.1277, allocations: 15.98 kB / 337.8 MB, free: 9.961 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/0.1277, allocations: 4 kB / 337.8 MB, free: 9.957 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.1277, allocations: 3.984 kB / 337.8 MB, free: 9.953 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.586e-05/0.1278, allocations: 119.3 kB / 337.9 MB, free: 9.836 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1278, allocations: 0 / 337.9 MB, free: 9.836 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002824/0.1281, allocations: 36 kB / 338 MB, free: 9.801 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0001345/0.1283, allocations: 111.1 kB / 338.1 MB, free: 9.684 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006534/0.1289, allocations: 140 kB / 338.2 MB, free: 9.547 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.129, allocations: 0 / 338.2 MB, free: 9.547 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003208/0.1293, allocations: 170.8 kB / 338.4 MB, free: 9.367 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001731/0.1295, allocations: 15.95 kB / 338.4 MB, free: 9.352 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.131, allocations: 0.606 MB / 339 MB, free: 8.723 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.1313, allocations: 0.716 MB / 339.7 MB, free: 7.98 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.674e-05/0.1313, allocations: 16.48 kB / 339.7 MB, free: 7.965 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.043e-05/0.1314, allocations: 15.44 kB / 339.7 MB, free: 7.949 MB / 286.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1314, allocations: 0 / 339.7 MB, free: 7.949 MB / 286.1 MB Notification: Performance of Templates: time 0.004169/0.1356, allocations: 1.451 MB / 341.2 MB, free: 6.5 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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