Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00171/0.00171, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00212/0.00212, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 227.4 MB / 247.4 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 64.36 kB / 307.6 MB, free: 0.6719 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08269/0.08391, allocations: 50.53 MB / 358.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003536/0.08748, allocations: 2.842 MB / 361 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.08869, allocations: 0.7556 MB / 361.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.08881, allocations: 11.94 kB / 361.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001115/0.08894, allocations: 67.42 kB / 361.8 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001951/0.08914, allocations: 95.05 kB / 361.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003371/0.08949, allocations: 127.8 kB / 362 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003718/0.08987, allocations: 450.8 kB / 362.5 MB, free: 9.773 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002995/0.09017, allocations: 220.9 kB / 362.7 MB, free: 9.555 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000226/0.09041, allocations: 179.5 kB / 362.9 MB, free: 9.379 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002177/0.09064, allocations: 211.1 kB / 363.1 MB, free: 9.172 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.05e-05/0.0907, allocations: 48 kB / 363.1 MB, free: 9.125 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.09081, allocations: 56 kB / 363.2 MB, free: 9.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.665e-05/0.09089, allocations: 99.67 kB / 363.3 MB, free: 8.973 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001706/0.09107, allocations: 219 kB / 363.5 MB, free: 8.758 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00042/0.0915, allocations: 0.4946 MB / 364 MB, free: 8.262 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.09151, allocations: 4 kB / 364 MB, free: 8.258 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.09152, allocations: 0 / 364 MB, free: 8.258 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.09153, allocations: 0 / 364 MB, free: 8.258 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.0009964/0.09253, allocations: 0.6903 MB / 364.7 MB, free: 7.516 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.09257, allocations: 8.031 kB / 364.7 MB, free: 7.508 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002309/0.09281, allocations: 56.45 kB / 364.7 MB, free: 7.453 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002622/0.09308, allocations: 274.1 kB / 365 MB, free: 7.145 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.616e-05/0.09312, allocations: 29.38 kB / 365 MB, free: 7.117 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.748e-05/0.09319, allocations: 48.22 kB / 365.1 MB, free: 7.07 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00063/0.09383, allocations: 459.5 kB / 365.5 MB, free: 6.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.09386, allocations: 4 kB / 365.5 MB, free: 6.586 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.836e-05/0.0939, allocations: 20 kB / 365.5 MB, free: 6.566 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.09392, allocations: 11.94 kB / 365.6 MB, free: 6.555 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004772/0.0944, allocations: 287.9 kB / 365.8 MB, free: 6.273 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00169/0.0961, allocations: 1.303 MB / 367.1 MB, free: 4.883 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000404/0.09652, allocations: 234.7 kB / 367.4 MB, free: 4.645 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000355/0.09688, allocations: 197.9 kB / 367.6 MB, free: 4.449 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.09691, allocations: 7.938 kB / 367.6 MB, free: 4.441 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.09695, allocations: 38.56 kB / 367.6 MB, free: 4.395 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.523e-06/0.09695, allocations: 0 / 367.6 MB, free: 4.395 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001319/0.09828, allocations: 0.5462 MB / 368.2 MB, free: 3.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.09839, allocations: 247.3 kB / 368.4 MB, free: 3.523 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.09857, allocations: 202.8 kB / 368.6 MB, free: 3.316 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.0986, allocations: 33.7 kB / 368.6 MB, free: 3.277 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.09872, allocations: 208.2 kB / 368.8 MB, free: 3.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.778e-05/0.0988, allocations: 98.47 kB / 368.9 MB, free: 2.973 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.433e-05/0.09889, allocations: 61.7 kB / 369 MB, free: 2.906 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.099, allocations: 334.8 kB / 369.3 MB, free: 2.57 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.09917, allocations: 83.64 kB / 369.4 MB, free: 2.488 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002015/0.09937, allocations: 152.5 kB / 369.5 MB, free: 2.309 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003275/0.09971, allocations: 203.1 kB / 369.7 MB, free: 2.102 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.09972, allocations: 0 / 369.7 MB, free: 2.102 MB / 302.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004293/0.1002, allocations: 277.1 kB / 370 MB, free: 1.824 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.1002, allocations: 6.969 kB / 370 MB, free: 1.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1002, allocations: 4 kB / 370 MB, free: 1.816 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.1002, allocations: 0 / 370 MB, free: 1.816 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003214/0.1005, allocations: 83.89 kB / 370.1 MB, free: 1.734 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.1006, allocations: 0 / 370.1 MB, free: 1.734 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001615/0.1007, allocations: 31.69 kB / 370.1 MB, free: 1.703 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.1007, allocations: 12 kB / 370.2 MB, free: 1.691 MB / 302.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 (38): * Single equations (assignments): 38 * 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 prepare postOptimizeDAE: time 0.0001354/0.1009, allocations: 157.7 kB / 370.3 MB, free: 1.527 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.31e-05/0.1009, allocations: 31.66 kB / 370.3 MB, free: 1.496 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.791e-05/0.101, allocations: 26.66 kB / 370.4 MB, free: 1.469 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.101, allocations: 4 kB / 370.4 MB, free: 1.465 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.101, allocations: 0 / 370.4 MB, free: 1.465 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.299e-06/0.101, allocations: 3.984 kB / 370.4 MB, free: 1.461 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009799/0.102, allocations: 0.775 MB / 371.1 MB, free: 0.625 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.102, allocations: 15.86 kB / 371.2 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000241/0.1023, allocations: 51.94 kB / 371.2 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002858/0.1026, allocations: 88.8 kB / 371.3 MB, free: 480 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.013e-05/0.1026, allocations: 8 kB / 371.3 MB, free: 472 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1463/0.249, allocations: 1.97 MB / 373.3 MB, free: 18.68 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.249, allocations: 1.719 kB / 373.3 MB, free: 18.68 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007436/0.2497, allocations: 0.4956 MB / 373.8 MB, free: 18.54 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.81e-05/0.2498, allocations: 101 kB / 373.9 MB, free: 18.44 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.619e-05/0.2498, allocations: 8.859 kB / 373.9 MB, free: 18.44 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.25, allocations: 14.22 kB / 373.9 MB, free: 18.44 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.521e-05/0.2501, allocations: 27.16 kB / 373.9 MB, free: 18.44 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.2501, allocations: 10.69 kB / 373.9 MB, free: 18.44 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001254/0.2502, allocations: 147.8 kB / 374.1 MB, free: 18.36 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2502, allocations: 1.031 kB / 374.1 MB, free: 18.36 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004077/0.2507, allocations: 106.9 kB / 374.2 MB, free: 18.35 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001237/0.2508, allocations: 110.2 kB / 374.3 MB, free: 18.26 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004378/0.2512, allocations: 220.8 kB / 374.5 MB, free: 18.26 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.2512, allocations: 0.7188 kB / 374.5 MB, free: 18.26 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003866/0.2516, allocations: 276.3 kB / 374.8 MB, free: 18.14 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.2521, allocations: 37.91 kB / 374.8 MB, free: 18.14 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.2532, allocations: 0.8692 MB / 375.7 MB, free: 17.61 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/0.2534, allocations: 0.7882 MB / 376.5 MB, free: 16.9 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.881e-05/0.2535, allocations: 23.08 kB / 376.5 MB, free: 16.89 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2535, allocations: 0 / 376.5 MB, free: 16.89 MB / 302.1 MB Notification: Performance of Templates: time 0.006446/0.26, allocations: 4.049 MB / 380.5 MB, free: 16.54 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches