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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.273/1.273, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000995/0.000995, allocations: 101.7 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008338/0.0008339, allocations: 35.94 kB / 350 MB, free: 80 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2323, allocations: 49.44 MB / 399.5 MB, free: 33.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003045/0.2353, allocations: 2.858 MB / 402.3 MB, free: 30.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008218/0.2362, allocations: 0.7124 MB / 403 MB, free: 29.79 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.2363, allocations: 4 kB / 403 MB, free: 29.79 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001013/0.2364, allocations: 47.67 kB / 403.1 MB, free: 29.74 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001696/0.2366, allocations: 80.88 kB / 403.2 MB, free: 29.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002652/0.2369, allocations: 103.9 kB / 403.3 MB, free: 29.56 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002724/0.2372, allocations: 442.7 kB / 403.7 MB, free: 29.12 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002341/0.2374, allocations: 178 kB / 403.9 MB, free: 28.94 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.2375, allocations: 171.4 kB / 404 MB, free: 28.77 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001572/0.2377, allocations: 207.1 kB / 404.2 MB, free: 28.57 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.735e-05/0.2378, allocations: 36 kB / 404.3 MB, free: 28.54 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.289e-05/0.2378, allocations: 32 kB / 404.3 MB, free: 28.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.122e-05/0.2379, allocations: 87.67 kB / 404.4 MB, free: 28.42 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.238, allocations: 203 kB / 404.6 MB, free: 28.22 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002769/0.2383, allocations: 487.8 kB / 405.1 MB, free: 27.74 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.2383, allocations: 0 / 405.1 MB, free: 27.74 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2383, allocations: 0 / 405.1 MB, free: 27.74 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.2383, allocations: 0 / 405.1 MB, free: 27.74 MB / 298.7 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.0008471/0.2392, allocations: 0.6904 MB / 405.8 MB, free: 27 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.2392, allocations: 8.031 kB / 405.8 MB, free: 26.99 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.998e-05/0.2393, allocations: 44.47 kB / 405.8 MB, free: 26.95 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002048/0.2395, allocations: 282 kB / 406.1 MB, free: 26.63 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.2395, allocations: 41.31 kB / 406.1 MB, free: 26.59 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.592e-05/0.2396, allocations: 40.38 kB / 406.2 MB, free: 26.55 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005067/0.2401, allocations: 451.6 kB / 406.6 MB, free: 26.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.2401, allocations: 3.938 kB / 406.6 MB, free: 26.08 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.975e-05/0.2402, allocations: 20 kB / 406.6 MB, free: 26.06 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.2402, allocations: 8 kB / 406.6 MB, free: 26.05 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004038/0.2406, allocations: 287.9 kB / 406.9 MB, free: 25.77 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001373/0.242, allocations: 1.31 MB / 408.2 MB, free: 24.37 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003602/0.2424, allocations: 239.7 kB / 408.5 MB, free: 24.13 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002919/0.2427, allocations: 196.8 kB / 408.7 MB, free: 23.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.2427, allocations: 4 kB / 408.7 MB, free: 23.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.2427, allocations: 38.5 kB / 408.7 MB, free: 23.88 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 1.283e-06/0.2427, allocations: 0 / 408.7 MB, free: 23.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.001163/0.2439, allocations: 0.5507 MB / 409.3 MB, free: 23.3 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.2439, allocations: 235.3 kB / 409.5 MB, free: 23.02 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.2441, allocations: 207 kB / 409.7 MB, free: 22.81 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.2441, allocations: 33.7 kB / 409.7 MB, free: 22.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.048e-05/0.2442, allocations: 200.2 kB / 409.9 MB, free: 22.57 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.802e-05/0.2442, allocations: 110.4 kB / 410 MB, free: 22.46 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.372e-05/0.2443, allocations: 61.69 kB / 410.1 MB, free: 22.39 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.756e-05/0.2444, allocations: 330.8 kB / 410.4 MB, free: 22.06 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.2445, allocations: 75.97 kB / 410.5 MB, free: 21.99 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/0.2447, allocations: 165.6 kB / 410.6 MB, free: 21.8 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002627/0.245, allocations: 196.6 kB / 410.8 MB, free: 21.6 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.245, allocations: 0 / 410.8 MB, free: 21.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003554/0.2453, allocations: 280.9 kB / 411.1 MB, free: 21.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.2454, allocations: 11.94 kB / 411.1 MB, free: 21.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.2454, allocations: 0 / 411.1 MB, free: 21.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.2454, allocations: 0 / 411.1 MB, free: 21.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000292/0.2457, allocations: 83.89 kB / 411.2 MB, free: 21.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/0.2457, allocations: 4 kB / 411.2 MB, free: 21.22 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.2459, allocations: 27.69 kB / 411.2 MB, free: 21.19 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.2459, allocations: 15.98 kB / 411.2 MB, free: 21.18 MB / 298.7 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.0001046/0.246, allocations: 153.8 kB / 411.4 MB, free: 21.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.242e-05/0.246, allocations: 27.66 kB / 411.4 MB, free: 20.99 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.352e-05/0.2461, allocations: 30.66 kB / 411.5 MB, free: 20.96 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.2461, allocations: 7.984 kB / 411.5 MB, free: 20.95 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.627e-06/0.2461, allocations: 4 kB / 411.5 MB, free: 20.95 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.2462, allocations: 0 / 411.5 MB, free: 20.95 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008546/0.247, allocations: 0.7672 MB / 412.2 MB, free: 20.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.247, allocations: 3.984 kB / 412.2 MB, free: 20.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002246/0.2473, allocations: 51.91 kB / 412.3 MB, free: 20.06 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002575/0.2475, allocations: 80.81 kB / 412.4 MB, free: 19.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.2475, allocations: 11.98 kB / 412.4 MB, free: 19.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001297/0.2489, allocations: 1.835 MB / 414.2 MB, free: 18 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2489, allocations: 0 / 414.2 MB, free: 18 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004614/0.2535, allocations: 4.859 MB / 419.1 MB, free: 12.85 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.137e-05/0.2535, allocations: 104.9 kB / 419.2 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.936e-05/0.2536, allocations: 8.062 kB / 419.2 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.2537, allocations: 16.11 kB / 419.2 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.571e-05/0.2538, allocations: 19.97 kB / 419.2 MB, free: 12.69 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.2538, allocations: 15.94 kB / 419.2 MB, free: 12.67 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.062e-05/0.2539, allocations: 148.6 kB / 419.4 MB, free: 12.53 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2539, allocations: 0 / 419.4 MB, free: 12.53 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005026/0.2544, allocations: 147.6 kB / 419.5 MB, free: 12.38 MB / 298.7 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.000112/0.2546, allocations: 107.2 kB / 419.6 MB, free: 12.27 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003235/0.2549, allocations: 207.7 kB / 419.8 MB, free: 12.07 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2549, allocations: 7.984 kB / 419.8 MB, free: 12.06 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000326/0.2552, allocations: 270.7 kB / 420.1 MB, free: 11.78 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.2556, allocations: 36.11 kB / 420.1 MB, free: 11.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.2568, allocations: 1.399 MB / 421.5 MB, free: 10.29 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001693/0.257, allocations: 0.7953 MB / 422.3 MB, free: 9.465 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.804e-05/0.2571, allocations: 33.88 kB / 422.4 MB, free: 9.43 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.337e-05/0.2572, allocations: 23.44 kB / 422.4 MB, free: 9.406 MB / 298.7 MB Notification: Performance of SimCode: time 2e-07/0.2572, allocations: 0 / 422.4 MB, free: 9.406 MB / 298.7 MB Notification: Performance of Templates: time 0.006143/0.2633, allocations: 4.059 MB / 426.4 MB, free: 5.359 MB / 298.7 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@2/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