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.001468/0.001468, allocations: 111.6 kB / 17.06 MB, free: 6 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.001578/0.001578, allocations: 198.8 kB / 18.01 MB, free: 5.074 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.341/1.341, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000952/0.000952, allocations: 43.94 kB / 351.3 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2348, allocations: 49.43 MB / 400.7 MB, free: 8.957 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003659/0.2385, allocations: 2.845 MB / 403.6 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.2396, allocations: 0.7126 MB / 404.3 MB, free: 5.453 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.2397, allocations: 8 kB / 404.3 MB, free: 5.445 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.2398, allocations: 63.41 kB / 404.3 MB, free: 5.383 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002011/0.24, allocations: 99.06 kB / 404.4 MB, free: 5.285 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003131/0.2404, allocations: 123.8 kB / 404.6 MB, free: 5.164 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003917/0.2408, allocations: 450.8 kB / 405 MB, free: 4.723 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003286/0.2411, allocations: 224.9 kB / 405.2 MB, free: 4.496 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002046/0.2413, allocations: 171.5 kB / 405.4 MB, free: 4.328 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002186/0.2415, allocations: 207.1 kB / 405.6 MB, free: 4.125 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.897e-05/0.2416, allocations: 48 kB / 405.6 MB, free: 4.078 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.981e-05/0.2417, allocations: 44 kB / 405.7 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.724e-05/0.2418, allocations: 95.69 kB / 405.8 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001808/0.242, allocations: 223 kB / 406 MB, free: 3.723 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004223/0.2424, allocations: 0.4956 MB / 406.5 MB, free: 3.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2424, allocations: 0 / 406.5 MB, free: 3.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.2424, allocations: 0 / 406.5 MB, free: 3.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.2424, allocations: 0 / 406.5 MB, free: 3.23 MB / 318.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.2435, allocations: 0.6865 MB / 407.2 MB, free: 2.496 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.2435, allocations: 11.89 kB / 407.2 MB, free: 2.484 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.803e-05/0.2436, allocations: 52.31 kB / 407.2 MB, free: 2.434 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/0.2439, allocations: 277.1 kB / 407.5 MB, free: 2.121 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/0.2439, allocations: 37.31 kB / 407.5 MB, free: 2.086 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.565e-05/0.244, allocations: 40.38 kB / 407.6 MB, free: 2.047 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006741/0.2446, allocations: 455.6 kB / 408 MB, free: 1.57 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.2447, allocations: 3.938 kB / 408 MB, free: 1.566 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.721e-05/0.2447, allocations: 16 kB / 408 MB, free: 1.551 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.2447, allocations: 15.98 kB / 408.1 MB, free: 1.535 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005029/0.2452, allocations: 279.9 kB / 408.3 MB, free: 1.262 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001771/0.247, allocations: 1.314 MB / 409.6 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000415/0.2474, allocations: 234.7 kB / 409.9 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003707/0.2478, allocations: 188.8 kB / 410.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.2479, allocations: 8.5 kB / 410.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.2479, allocations: 42.48 kB / 410.1 MB, free: 15.38 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 2.996e-06/0.2479, allocations: 0 / 410.1 MB, free: 15.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001356/0.2493, allocations: 0.5457 MB / 410.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.2494, allocations: 235.3 kB / 410.9 MB, free: 14.52 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.2496, allocations: 207 kB / 411.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.2496, allocations: 33.7 kB / 411.1 MB, free: 14.27 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.2497, allocations: 196.2 kB / 411.3 MB, free: 14.07 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.517e-05/0.2498, allocations: 106.5 kB / 411.4 MB, free: 13.96 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.228e-05/0.2499, allocations: 69.53 kB / 411.5 MB, free: 13.89 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.25, allocations: 338.8 kB / 411.8 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.2502, allocations: 75.97 kB / 411.9 MB, free: 13.47 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002044/0.2504, allocations: 165.3 kB / 412 MB, free: 13.28 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003292/0.2507, allocations: 195.4 kB / 412.2 MB, free: 13.08 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2508, allocations: 0 / 412.2 MB, free: 13.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004571/0.2512, allocations: 276.8 kB / 412.5 MB, free: 12.8 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.2512, allocations: 4 kB / 412.5 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.2512, allocations: 4.062 kB / 412.5 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.2513, allocations: 4 kB / 412.5 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003345/0.2516, allocations: 83.89 kB / 412.6 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.2516, allocations: 0 / 412.6 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.2518, allocations: 35.67 kB / 412.6 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.2518, allocations: 8 kB / 412.6 MB, free: 12.67 MB / 334.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.0001375/0.252, allocations: 153.8 kB / 412.8 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.202e-05/0.252, allocations: 23.75 kB / 412.8 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.893e-05/0.2521, allocations: 34.64 kB / 412.9 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.2521, allocations: 4 kB / 412.9 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.2521, allocations: 0 / 412.9 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2521, allocations: 0 / 412.9 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.2531, allocations: 0.771 MB / 413.6 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.2532, allocations: 4 kB / 413.6 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002565/0.2534, allocations: 47.91 kB / 413.7 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000299/0.2537, allocations: 100.8 kB / 413.8 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.2538, allocations: 8 kB / 413.8 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001892/0.2557, allocations: 1.977 MB / 415.8 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2557, allocations: 0 / 415.8 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007397/0.2564, allocations: 0.5021 MB / 416.3 MB, free: 8.816 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.556e-05/0.2565, allocations: 100.8 kB / 416.4 MB, free: 8.699 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.524e-05/0.2565, allocations: 8.062 kB / 416.4 MB, free: 8.691 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/0.2567, allocations: 16 kB / 416.4 MB, free: 8.676 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.381e-05/0.2568, allocations: 15.97 kB / 416.4 MB, free: 8.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.2568, allocations: 15.98 kB / 416.4 MB, free: 8.645 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001204/0.2569, allocations: 156.5 kB / 416.6 MB, free: 8.492 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2569, allocations: 0 / 416.6 MB, free: 8.492 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003607/0.2573, allocations: 115.5 kB / 416.7 MB, free: 8.379 MB / 334.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.0001112/0.2574, allocations: 108.8 kB / 416.8 MB, free: 8.262 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003881/0.2578, allocations: 211.8 kB / 417 MB, free: 8.055 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2578, allocations: 128 / 417 MB, free: 8.055 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004037/0.2582, allocations: 270.5 kB / 417.3 MB, free: 7.777 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.2586, allocations: 35.14 kB / 417.3 MB, free: 7.746 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.2598, allocations: 0.8495 MB / 418.1 MB, free: 6.867 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.2602, allocations: 0.787 MB / 418.9 MB, free: 6.055 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.803e-05/0.2603, allocations: 21.94 kB / 419 MB, free: 6.031 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.608e-05/0.2603, allocations: 23.44 kB / 419 MB, free: 6.008 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2603, allocations: 0 / 419 MB, free: 6.008 MB / 334.1 MB Notification: Performance of Templates: time 0.006356/0.2667, allocations: 3.134 MB / 422.1 MB, free: 2.879 MB / 334.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches