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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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") [: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 trunk/package.mo): time 0.001772/0.001772, allocations: 203.4 kB / 8.542 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.212/1.212, allocations: 225.5 MB / 234.4 MB, free: 14.94 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000921/0.0009209, allocations: 98.81 kB / 286.4 MB, free: 12.62 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.524e-06/7.644e-06, allocations: 4 kB / 343.1 MB, free: 3.832 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.221, allocations: 51.46 MB / 394.6 MB, free: 33.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08546/0.3065, allocations: 78.32 MB / 472.9 MB, free: 2.734 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001621/0.3067, allocations: 68.84 kB / 473 MB, free: 2.668 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01559/0.3223, allocations: 5.651 MB / 478.6 MB, free: 13.03 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.231e-05/0.3224, allocations: 8 kB / 478.6 MB, free: 13.02 MB / 362.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.0009675/0.3234, allocations: 0.6076 MB / 479.2 MB, free: 12.37 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.3234, allocations: 8.031 kB / 479.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002824/0.3237, allocations: 63.42 kB / 479.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003625/0.3241, allocations: 279.2 kB / 479.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.3241, allocations: 16 kB / 479.6 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.376e-05/0.3242, allocations: 31.84 kB / 479.6 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004663/0.3247, allocations: 242 kB / 479.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005826/0.3253, allocations: 365.4 kB / 480.2 MB, free: 11.31 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.3253, allocations: 0 / 480.2 MB, free: 11.31 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.115e-05/0.3253, allocations: 0 / 480.2 MB, free: 11.31 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/0.3253, allocations: 12 kB / 480.2 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001863/0.3272, allocations: 1.223 MB / 481.5 MB, free: 10 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002733/0.3275, allocations: 145.8 kB / 481.6 MB, free: 9.848 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003266/0.3278, allocations: 189.5 kB / 481.8 MB, free: 9.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.3279, allocations: 4 kB / 481.8 MB, free: 9.656 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.3279, allocations: 34.56 kB / 481.8 MB, free: 9.613 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 1.493e-06/0.3279, allocations: 4 kB / 481.8 MB, free: 9.609 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005567/0.3285, allocations: 242.7 kB / 482.1 MB, free: 9.363 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.593e-05/0.3286, allocations: 235.3 kB / 482.3 MB, free: 9.078 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.3287, allocations: 162.6 kB / 482.5 MB, free: 8.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.3287, allocations: 29.64 kB / 482.5 MB, free: 8.875 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.3289, allocations: 200.1 kB / 482.7 MB, free: 8.672 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.765e-05/0.3289, allocations: 94.56 kB / 482.8 MB, free: 8.578 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.078e-05/0.3289, allocations: 0 / 482.8 MB, free: 8.578 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.897e-05/0.329, allocations: 334.7 kB / 483.1 MB, free: 8.242 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.3292, allocations: 67.98 kB / 483.2 MB, free: 8.176 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.3293, allocations: 133.8 kB / 483.3 MB, free: 8.016 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.3295, allocations: 88.39 kB / 483.4 MB, free: 7.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3295, allocations: 0 / 483.4 MB, free: 7.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003445/0.3298, allocations: 229.1 kB / 483.6 MB, free: 7.699 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.3299, allocations: 7.938 kB / 483.6 MB, free: 7.691 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.3299, allocations: 4 kB / 483.6 MB, free: 7.688 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.3299, allocations: 0 / 483.6 MB, free: 7.688 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003516/0.3302, allocations: 83.89 kB / 483.7 MB, free: 7.605 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.3303, allocations: 12.86 kB / 483.7 MB, free: 7.594 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.3304, allocations: 19.75 kB / 483.7 MB, free: 7.574 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/0.3305, allocations: 12 kB / 483.7 MB, free: 7.562 MB / 362.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 () * 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 8.474e-05/0.3305, allocations: 113.9 kB / 483.9 MB, free: 7.445 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.846e-05/0.3306, allocations: 23.72 kB / 483.9 MB, free: 7.422 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.877e-05/0.3307, allocations: 23.69 kB / 483.9 MB, free: 7.398 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.3307, allocations: 4 kB / 483.9 MB, free: 7.395 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.3307, allocations: 0 / 483.9 MB, free: 7.395 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.3307, allocations: 15.97 kB / 483.9 MB, free: 7.379 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009089/0.3316, allocations: 0.6762 MB / 484.6 MB, free: 6.656 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.3316, allocations: 4 kB / 484.6 MB, free: 6.652 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002849/0.3319, allocations: 63.89 kB / 484.7 MB, free: 6.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003082/0.3322, allocations: 84.84 kB / 484.8 MB, free: 6.504 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.3323, allocations: 0 / 484.8 MB, free: 6.504 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001639/0.3339, allocations: 1.704 MB / 486.5 MB, free: 4.691 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3339, allocations: 0 / 486.5 MB, free: 4.691 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006171/0.3346, allocations: 480.6 kB / 486.9 MB, free: 4.191 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.266e-05/0.3346, allocations: 96.86 kB / 487 MB, free: 4.078 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.816e-05/0.3347, allocations: 7.906 kB / 487 MB, free: 4.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.3348, allocations: 7.984 kB / 487 MB, free: 4.062 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.937e-05/0.3349, allocations: 11.98 kB / 487 MB, free: 4.051 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.3349, allocations: 8 kB / 487.1 MB, free: 4.043 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.087e-05/0.335, allocations: 123.2 kB / 487.2 MB, free: 3.922 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003705/0.3354, allocations: 111.8 kB / 487.3 MB, free: 3.812 MB / 362.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.0001482/0.3355, allocations: 100 kB / 487.4 MB, free: 3.703 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002959/0.3358, allocations: 179.9 kB / 487.6 MB, free: 3.527 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.3358, allocations: 0 / 487.6 MB, free: 3.527 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003185/0.3362, allocations: 225.7 kB / 487.8 MB, free: 3.297 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.3364, allocations: 32.2 kB / 487.8 MB, free: 3.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.3375, allocations: 0.6506 MB / 488.5 MB, free: 2.594 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003499/0.3379, allocations: 0.8138 MB / 489.3 MB, free: 1.754 MB / 362.7 MB Notification: Performance of SimCode: time 3.21e-07/0.3379, allocations: 4 kB / 489.3 MB, free: 1.75 MB / 362.7 MB Notification: Performance of Templates: time 0.006127/0.3441, allocations: 2.898 MB / 492.2 MB, free: 14.88 MB / 378.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches