Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001291/0.00129, allocations: 175.5 kB / 8.475 MB, free: 1.871 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.249/1.249, allocations: 205.2 MB / 214.1 MB, free: 5.254 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008522/0.0008521, allocations: 86.27 kB / 262.1 MB, free: 5.285 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.442e-06/6.482e-06, allocations: 4 kB / 315 MB, free: 41.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07505/0.07507, allocations: 47.57 MB / 362.5 MB, free: 9.984 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2113/0.2865, allocations: 76.13 MB / 438.7 MB, free: 10.79 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001572/0.2867, allocations: 73.73 kB / 438.7 MB, free: 10.78 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.01284/0.2995, allocations: 5.055 MB / 443.8 MB, free: 10.44 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.629e-05/0.2996, allocations: 7.656 kB / 443.8 MB, free: 10.44 MB / 314.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.0006972/0.3003, allocations: 0.6052 MB / 444.4 MB, free: 9.992 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.3003, allocations: 11.53 kB / 444.4 MB, free: 9.992 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.31e-05/0.3004, allocations: 47.16 kB / 444.5 MB, free: 9.969 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002496/0.3006, allocations: 268 kB / 444.7 MB, free: 9.742 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.3007, allocations: 11.75 kB / 444.7 MB, free: 9.742 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.241e-05/0.3007, allocations: 29.64 kB / 444.8 MB, free: 9.738 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003963/0.3011, allocations: 248.2 kB / 445 MB, free: 9.73 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004847/0.3016, allocations: 366.4 kB / 445.4 MB, free: 9.617 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.3016, allocations: 0 / 445.4 MB, free: 9.617 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.03e-05/0.3017, allocations: 3.875 kB / 445.4 MB, free: 9.617 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.3017, allocations: 8.453 kB / 445.4 MB, free: 9.617 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001566/0.3033, allocations: 1.241 MB / 446.6 MB, free: 9.07 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002347/0.3035, allocations: 140.7 kB / 446.8 MB, free: 9.047 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00028/0.3038, allocations: 188.2 kB / 446.9 MB, free: 9.031 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.3038, allocations: 3.844 kB / 446.9 MB, free: 9.031 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.476e-05/0.3039, allocations: 31.17 kB / 447 MB, free: 8.992 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 1.453e-06/0.3039, allocations: 4.875 kB / 447 MB, free: 8.988 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005083/0.3044, allocations: 253.9 kB / 447.2 MB, free: 8.93 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.3044, allocations: 236.5 kB / 447.5 MB, free: 8.648 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.3045, allocations: 152.7 kB / 447.6 MB, free: 8.551 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.3046, allocations: 29.55 kB / 447.6 MB, free: 8.52 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.698e-05/0.3047, allocations: 190.4 kB / 447.8 MB, free: 8.375 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.066e-05/0.3047, allocations: 101.1 kB / 447.9 MB, free: 8.309 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.051e-05/0.3047, allocations: 0 / 447.9 MB, free: 8.309 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.386e-05/0.3048, allocations: 340.1 kB / 448.3 MB, free: 7.988 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.3049, allocations: 63.45 kB / 448.3 MB, free: 7.984 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.3051, allocations: 132.7 kB / 448.4 MB, free: 7.902 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.3052, allocations: 88.59 kB / 448.5 MB, free: 7.891 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3052, allocations: 0 / 448.5 MB, free: 7.891 MB / 314.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003071/0.3055, allocations: 219.7 kB / 448.7 MB, free: 7.848 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.3055, allocations: 11.72 kB / 448.8 MB, free: 7.844 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3056, allocations: 0 / 448.8 MB, free: 7.844 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.3056, allocations: 4.578 kB / 448.8 MB, free: 7.844 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003434/0.3059, allocations: 80.47 kB / 448.8 MB, free: 7.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.3059, allocations: 11.94 kB / 448.9 MB, free: 7.832 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.3061, allocations: 24.67 kB / 448.9 MB, free: 7.816 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.866e-05/0.3061, allocations: 11.69 kB / 448.9 MB, free: 7.816 MB / 314.7 MB Warning: Assuming fixed start value for the following 2 variables: C2.vinternal:VARIABLE(unit = "V" protected = true ) "Capacitor voltage" type: Real C1.vinternal:VARIABLE(unit = "V" protected = true ) "Capacitor voltage" type: Real 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 () * 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.0001111/0.3062, allocations: 109.8 kB / 449 MB, free: 7.707 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.693e-05/0.3063, allocations: 19.98 kB / 449 MB, free: 7.699 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.866e-05/0.3064, allocations: 29.7 kB / 449 MB, free: 7.688 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/0.3064, allocations: 8.656 kB / 449.1 MB, free: 7.684 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.3064, allocations: 0 / 449.1 MB, free: 7.684 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.3064, allocations: 5.219 kB / 449.1 MB, free: 7.684 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007937/0.3072, allocations: 0.6813 MB / 449.7 MB, free: 7.312 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3072, allocations: 0 / 449.7 MB, free: 7.312 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002659/0.3075, allocations: 61.14 kB / 449.8 MB, free: 7.297 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002952/0.3078, allocations: 89.84 kB / 449.9 MB, free: 7.27 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.3078, allocations: 0 / 449.9 MB, free: 7.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00136/0.3092, allocations: 1.7 MB / 451.6 MB, free: 5.965 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3092, allocations: 3.938 kB / 451.6 MB, free: 5.965 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005043/0.3097, allocations: 478.8 kB / 452.1 MB, free: 5.746 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.132e-05/0.3097, allocations: 96.61 kB / 452.2 MB, free: 5.641 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.313e-05/0.3098, allocations: 0 / 452.2 MB, free: 5.641 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.31, allocations: 15.58 kB / 452.2 MB, free: 5.633 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.347e-05/0.31, allocations: 15.08 kB / 452.2 MB, free: 5.629 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.31, allocations: 7.891 kB / 452.2 MB, free: 5.625 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.789e-05/0.3101, allocations: 128.6 kB / 452.3 MB, free: 5.539 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003511/0.3104, allocations: 104.9 kB / 452.4 MB, free: 5.512 MB / 314.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 () * 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.0001368/0.3106, allocations: 102.4 kB / 452.5 MB, free: 5.418 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002644/0.3109, allocations: 179 kB / 452.7 MB, free: 5.41 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3109, allocations: 0 / 452.7 MB, free: 5.41 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002809/0.3112, allocations: 222.8 kB / 452.9 MB, free: 5.289 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001827/0.3113, allocations: 21.23 kB / 452.9 MB, free: 5.281 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009512/0.3123, allocations: 0.6413 MB / 453.6 MB, free: 4.855 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002368/0.3126, allocations: 0.8219 MB / 454.4 MB, free: 4.09 MB / 314.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3126, allocations: 4 kB / 454.4 MB, free: 4.086 MB / 314.7 MB Notification: Performance of Templates: time 0.004938/0.3175, allocations: 2.738 MB / 457.1 MB, free: 2.766 MB / 314.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches