Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.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) 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(Modelica.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors") translateModel(Modelica.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 90.73 kB / 16.31 MB, free: 5.684 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.001392/0.001392, allocations: 177.8 kB / 17.2 MB, free: 5.613 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.276/1.276, allocations: 223.2 MB / 241.1 MB, free: 14.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002254/0.0002255, allocations: 8 kB / 300.7 MB, free: 6.219 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08576/0.086, allocations: 50.43 MB / 351.1 MB, free: 3.789 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.002499/0.08855, allocations: 2.233 MB / 353.4 MB, free: 1.543 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.08975, allocations: 0.7016 MB / 354.1 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.08987, allocations: 8 kB / 354.1 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.505e-05/0.08996, allocations: 47.66 kB / 354.1 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001819/0.09015, allocations: 95.7 kB / 354.2 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002585/0.09042, allocations: 87.84 kB / 354.3 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000325/0.09075, allocations: 299.9 kB / 354.6 MB, free: 316 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002591/0.09102, allocations: 162.3 kB / 354.8 MB, free: 144 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001735/0.0912, allocations: 143.5 kB / 354.9 MB, free: 0 / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.09143, allocations: 167.3 kB / 355.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.11e-05/0.09148, allocations: 24 kB / 355.1 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.899e-05/0.09153, allocations: 24 kB / 355.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.889e-05/0.0916, allocations: 67.7 kB / 355.2 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.049e-05/0.09169, allocations: 97.52 kB / 355.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003247/0.09202, allocations: 379.1 kB / 355.6 MB, free: 15.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.09203, allocations: 0 / 355.6 MB, free: 15.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.09203, allocations: 0 / 355.6 MB, free: 15.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.034e-06/0.09205, allocations: 4 kB / 355.7 MB, free: 15.25 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001035/0.09309, allocations: 0.6279 MB / 356.3 MB, free: 14.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.09314, allocations: 8.031 kB / 356.3 MB, free: 14.56 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.919e-05/0.09323, allocations: 43.53 kB / 356.3 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003272/0.09357, allocations: 268.1 kB / 356.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.0936, allocations: 29 kB / 356.6 MB, free: 14.19 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.528e-05/0.09367, allocations: 47.94 kB / 356.7 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006577/0.09434, allocations: 443.3 kB / 357.1 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.09437, allocations: 7.891 kB / 357.1 MB, free: 13.67 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.523e-05/0.09441, allocations: 23.94 kB / 357.1 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.09442, allocations: 8 kB / 357.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000495/0.09492, allocations: 283.9 kB / 357.4 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00174/0.09667, allocations: 1.322 MB / 358.7 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004239/0.09711, allocations: 246.9 kB / 359 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.09714, allocations: 0 / 359 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.09718, allocations: 38.56 kB / 359 MB, free: 11.65 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.232e-06/0.09718, allocations: 0 / 359 MB, free: 11.65 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001363/0.09855, allocations: 0.5541 MB / 359.6 MB, free: 11.07 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/0.09868, allocations: 239.3 kB / 359.8 MB, free: 10.78 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/0.09889, allocations: 203 kB / 360 MB, free: 10.57 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.913e-05/0.09892, allocations: 29.7 kB / 360 MB, free: 10.54 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.09906, allocations: 200.2 kB / 360.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.062e-05/0.09914, allocations: 106.4 kB / 360.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.569e-05/0.09916, allocations: 12 kB / 360.3 MB, free: 10.22 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.09929, allocations: 338.8 kB / 360.7 MB, free: 9.879 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.09945, allocations: 83.95 kB / 360.8 MB, free: 9.797 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000197/0.09966, allocations: 151.6 kB / 360.9 MB, free: 9.621 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/0.09984, allocations: 112.1 kB / 361 MB, free: 9.512 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.09985, allocations: 0 / 361 MB, free: 9.512 MB / 302.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004191/0.1003, allocations: 281 kB / 361.3 MB, free: 9.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.1003, allocations: 10.95 kB / 361.3 MB, free: 9.223 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1003, allocations: 0 / 361.3 MB, free: 9.223 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.1003, allocations: 8.031 kB / 361.3 MB, free: 9.215 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000332/0.1007, allocations: 79.89 kB / 361.4 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.1007, allocations: 0 / 361.4 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.1009, allocations: 35.69 kB / 361.4 MB, free: 9.102 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.1009, allocations: 8 kB / 361.4 MB, free: 9.094 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (38): * Single equations (assignments): 38 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001425/0.101, allocations: 157.7 kB / 361.6 MB, free: 8.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.1011, allocations: 19.81 kB / 361.6 MB, free: 8.91 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.127e-05/0.1012, allocations: 30.66 kB / 361.6 MB, free: 8.875 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.1012, allocations: 8 kB / 361.6 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.1012, allocations: 0 / 361.6 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.1012, allocations: 11.97 kB / 361.6 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004504/0.1016, allocations: 393.1 kB / 362 MB, free: 8.422 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1017, allocations: 0 / 362 MB, free: 8.422 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002639/0.1019, allocations: 55.91 kB / 362.1 MB, free: 8.367 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003025/0.1022, allocations: 84.8 kB / 362.2 MB, free: 8.281 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.1023, allocations: 8 kB / 362.2 MB, free: 8.273 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00173/0.104, allocations: 1.859 MB / 364 MB, free: 6.281 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.104, allocations: 32 / 364 MB, free: 6.281 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007148/0.1047, allocations: 0.5208 MB / 364.6 MB, free: 5.738 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.04e-05/0.1048, allocations: 100.8 kB / 364.7 MB, free: 5.621 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.494e-05/0.1049, allocations: 12.06 kB / 364.7 MB, free: 5.609 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001612/0.105, allocations: 16.11 kB / 364.7 MB, free: 5.594 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.359e-05/0.1051, allocations: 23.97 kB / 364.7 MB, free: 5.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.1051, allocations: 4 kB / 364.7 MB, free: 5.566 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000119/0.1052, allocations: 148.6 kB / 364.9 MB, free: 5.422 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1052, allocations: 0 / 364.9 MB, free: 5.422 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003894/0.1056, allocations: 111.5 kB / 365 MB, free: 5.312 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (L1.iinternal,L2.iinternal,C1.vinternal,L3.iinternal,C2.vinternal) * 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 (18): * Single equations (assignments): 17 * 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: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001516/0.1058, allocations: 115.1 kB / 365.1 MB, free: 5.191 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004045/0.1062, allocations: 215.8 kB / 365.3 MB, free: 4.98 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1062, allocations: 4 kB / 365.3 MB, free: 4.977 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004026/0.1066, allocations: 274.5 kB / 365.6 MB, free: 4.695 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.1069, allocations: 32.97 kB / 365.6 MB, free: 4.664 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.1082, allocations: 1.05 MB / 366.6 MB, free: 3.594 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.1085, allocations: 0.7989 MB / 367.4 MB, free: 2.77 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.068e-05/0.1086, allocations: 25.94 kB / 367.5 MB, free: 2.742 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.442e-05/0.1087, allocations: 19.44 kB / 367.5 MB, free: 2.723 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1087, allocations: 0 / 367.5 MB, free: 2.723 MB / 302.1 MB Notification: Performance of Templates: time 0.1439/0.2526, allocations: 2.782 MB / 370.3 MB, free: 24.01 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches