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") [: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 4.0.0+maint.om/package.mo): time 0.0009737/0.0009738, allocations: 185.2 kB / 8.135 MB, free: 2.191 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.23/1.23, allocations: 221.4 MB / 229.9 MB, free: 3.047 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008443/0.0008443, allocations: 101.9 kB / 280.8 MB, free: 1.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.083e-06/7.123e-06, allocations: 0 / 336.5 MB, free: 9.492 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.182, allocations: 50.4 MB / 386.9 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07703/0.259, allocations: 77.5 MB / 464.4 MB, free: 9.281 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001518/0.2592, allocations: 80.33 kB / 464.5 MB, free: 9.203 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01529/0.2745, allocations: 5.503 MB / 470 MB, free: 3.73 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.036e-05/0.2746, allocations: 16 kB / 470 MB, free: 3.715 MB / 346.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.0008175/0.2754, allocations: 0.5921 MB / 470.6 MB, free: 3.078 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.2754, allocations: 12.03 kB / 470.6 MB, free: 3.066 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.796e-05/0.2755, allocations: 44.25 kB / 470.6 MB, free: 3.023 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003462/0.2759, allocations: 275.2 kB / 470.9 MB, free: 2.711 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.2759, allocations: 12 kB / 470.9 MB, free: 2.699 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.592e-05/0.276, allocations: 28 kB / 471 MB, free: 2.672 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004548/0.2765, allocations: 250.8 kB / 471.2 MB, free: 2.426 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005637/0.277, allocations: 365.4 kB / 471.6 MB, free: 2.039 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.2771, allocations: 0 / 471.6 MB, free: 2.039 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.906e-05/0.2771, allocations: 0 / 471.6 MB, free: 2.039 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.2771, allocations: 17.48 kB / 471.6 MB, free: 2.023 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00179/0.2789, allocations: 1.235 MB / 472.8 MB, free: 0.707 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002789/0.2792, allocations: 133.9 kB / 472.9 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003396/0.2795, allocations: 184.7 kB / 473.1 MB, free: 392 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.2796, allocations: 8 kB / 473.1 MB, free: 384 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.2796, allocations: 37.22 kB / 473.2 MB, free: 340 kB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 1.603e-06/0.2796, allocations: 0 / 473.2 MB, free: 340 kB / 346.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005815/0.2802, allocations: 250.6 kB / 473.4 MB, free: 80 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.2803, allocations: 235.3 kB / 473.6 MB, free: 15.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.2805, allocations: 157.8 kB / 473.8 MB, free: 15.63 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.2805, allocations: 25.7 kB / 473.8 MB, free: 15.6 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.2806, allocations: 204.1 kB / 474 MB, free: 15.4 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.876e-05/0.2807, allocations: 94.56 kB / 474.1 MB, free: 15.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.163e-05/0.2807, allocations: 0 / 474.1 MB, free: 15.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.2808, allocations: 334.7 kB / 474.4 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.2809, allocations: 60 kB / 474.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.2811, allocations: 144.8 kB / 474.6 MB, free: 14.74 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.2813, allocations: 88.39 kB / 474.7 MB, free: 14.65 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2813, allocations: 0 / 474.7 MB, free: 14.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003564/0.2816, allocations: 225.2 kB / 474.9 MB, free: 14.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.2817, allocations: 4 kB / 474.9 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2817, allocations: 3.906 kB / 474.9 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.2817, allocations: 8.062 kB / 475 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003938/0.2821, allocations: 83.89 kB / 475 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.445e-06/0.2821, allocations: 5.484 kB / 475 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/0.2823, allocations: 15.84 kB / 475.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.792e-05/0.2823, allocations: 15.89 kB / 475.1 MB, free: 14.29 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 9.288e-05/0.2824, allocations: 117.8 kB / 475.2 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.341e-05/0.2825, allocations: 19.81 kB / 475.2 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.494e-05/0.2826, allocations: 30.56 kB / 475.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.2826, allocations: 5.062 kB / 475.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.2826, allocations: 0 / 475.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-06/0.2826, allocations: 7.984 kB / 475.3 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009217/0.2835, allocations: 0.6764 MB / 475.9 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.2835, allocations: 0 / 475.9 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003089/0.2838, allocations: 59.95 kB / 476 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003215/0.2842, allocations: 86.48 kB / 476.1 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.2842, allocations: 1.125 kB / 476.1 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001706/0.2859, allocations: 1.709 MB / 477.8 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.2859, allocations: 0 / 477.8 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006268/0.2866, allocations: 475.3 kB / 478.2 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.502e-05/0.2866, allocations: 96.8 kB / 478.3 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.612e-05/0.2867, allocations: 7.938 kB / 478.3 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.2869, allocations: 20.02 kB / 478.4 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/0.2869, allocations: 11.98 kB / 478.4 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.2869, allocations: 11.98 kB / 478.4 MB, free: 10.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.34e-05/0.287, allocations: 120.3 kB / 478.5 MB, free: 10.65 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003683/0.2874, allocations: 96.44 kB / 478.6 MB, free: 10.55 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.0001278/0.2875, allocations: 103.5 kB / 478.7 MB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003211/0.2879, allocations: 179.9 kB / 478.9 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.2879, allocations: 3.984 kB / 478.9 MB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003196/0.2882, allocations: 225.7 kB / 479.1 MB, free: 10.03 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.2885, allocations: 23.03 kB / 479.1 MB, free: 10.01 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.2895, allocations: 0.6616 MB / 479.8 MB, free: 9.328 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003488/0.2899, allocations: 0.8177 MB / 480.6 MB, free: 8.484 MB / 362.7 MB Notification: Performance of SimCode: time 3.5e-07/0.2899, allocations: 0 / 480.6 MB, free: 8.484 MB / 362.7 MB Notification: Performance of Templates: time 0.005837/0.2958, allocations: 2.884 MB / 483.5 MB, free: 5.629 MB / 362.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/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