Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") [: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.001575/0.001575, allocations: 184.2 kB / 8.136 MB, free: 2.207 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.218/1.218, allocations: 221.4 MB / 229.9 MB, free: 3 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.0008861/0.0008861, allocations: 99.78 kB / 280.8 MB, free: 1.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.522e-06/6.802e-06, allocations: 0 / 336.5 MB, free: 9.492 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2487, allocations: 50.39 MB / 386.9 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1009/0.3496, allocations: 81.67 MB / 468.6 MB, free: 5.141 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/0.3499, allocations: 93.17 kB / 468.7 MB, free: 5.051 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.02565/0.3756, allocations: 9.716 MB / 478.4 MB, free: 11.28 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.112e-05/0.3756, allocations: 8 kB / 478.4 MB, free: 11.27 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001227/0.3769, allocations: 0.6427 MB / 479 MB, free: 10.58 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.3769, allocations: 16.03 kB / 479 MB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000524/0.3775, allocations: 87.45 kB / 479.1 MB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004381/0.3779, allocations: 307 kB / 479.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.3779, allocations: 12 kB / 479.4 MB, free: 10.13 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.817e-05/0.378, allocations: 19.98 kB / 479.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003864/0.3784, allocations: 205.5 kB / 479.7 MB, free: 9.906 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004556/0.3789, allocations: 280.8 kB / 479.9 MB, free: 9.621 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.3789, allocations: 0 / 479.9 MB, free: 9.621 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.01e-05/0.3789, allocations: 4 kB / 479.9 MB, free: 9.617 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.3789, allocations: 9.312 kB / 480 MB, free: 9.609 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002038/0.381, allocations: 1.31 MB / 481.3 MB, free: 8.211 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002527/0.3812, allocations: 142 kB / 481.4 MB, free: 8.059 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.3814, allocations: 65.72 kB / 481.5 MB, free: 7.988 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007738/0.3821, allocations: 0.8641 MB / 482.3 MB, free: 7.023 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.3822, allocations: 42.59 kB / 482.4 MB, free: 6.973 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 2.094e-06/0.3822, allocations: 0 / 482.4 MB, free: 6.973 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002878/0.3825, allocations: 117.4 kB / 482.5 MB, free: 6.852 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/0.3825, allocations: 81.11 kB / 482.6 MB, free: 6.754 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002364/0.3828, allocations: 231.3 kB / 482.8 MB, free: 6.516 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.3828, allocations: 29.64 kB / 482.8 MB, free: 6.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.3829, allocations: 224 kB / 483 MB, free: 6.258 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.2e-05/0.383, allocations: 47.36 kB / 483.1 MB, free: 6.211 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.14e-05/0.383, allocations: 4 kB / 483.1 MB, free: 6.207 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.3831, allocations: 338.8 kB / 483.4 MB, free: 5.867 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.476e-05/0.3832, allocations: 47.98 kB / 483.5 MB, free: 5.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.3833, allocations: 165.3 kB / 483.6 MB, free: 5.598 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.3835, allocations: 72.86 kB / 483.7 MB, free: 5.527 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3835, allocations: 0 / 483.7 MB, free: 5.527 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003476/0.3838, allocations: 236.9 kB / 483.9 MB, free: 5.289 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.3838, allocations: 8 kB / 483.9 MB, free: 5.281 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.3839, allocations: 4 kB / 483.9 MB, free: 5.277 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.3839, allocations: 8.562 kB / 483.9 MB, free: 5.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002988/0.3842, allocations: 75.91 kB / 484 MB, free: 5.195 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/0.3842, allocations: 19.83 kB / 484 MB, free: 5.176 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/0.3844, allocations: 27.69 kB / 484.1 MB, free: 5.148 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.149e-05/0.3844, allocations: 16 kB / 484.1 MB, free: 5.133 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.097e-05/0.3845, allocations: 116.9 kB / 484.2 MB, free: 5.012 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.587e-05/0.3846, allocations: 23.72 kB / 484.2 MB, free: 4.988 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.447e-05/0.3846, allocations: 25.73 kB / 484.2 MB, free: 4.965 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.3847, allocations: 3.906 kB / 484.2 MB, free: 4.961 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.3847, allocations: 0 / 484.2 MB, free: 4.961 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.3847, allocations: 4.062 kB / 484.3 MB, free: 4.957 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005185/0.3852, allocations: 451.7 kB / 484.7 MB, free: 4.469 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.3852, allocations: 0 / 484.7 MB, free: 4.469 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002131/0.3854, allocations: 43.95 kB / 484.7 MB, free: 4.426 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.3854, allocations: 4 kB / 484.7 MB, free: 4.422 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.3855, allocations: 0 / 484.7 MB, free: 4.422 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.3855, allocations: 3.984 kB / 484.7 MB, free: 4.418 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.3855, allocations: 0 / 484.7 MB, free: 4.418 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003417/0.3858, allocations: 382.2 kB / 485.1 MB, free: 4.016 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.236e-05/0.3859, allocations: 100.8 kB / 485.2 MB, free: 3.898 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.961e-05/0.386, allocations: 7.891 kB / 485.2 MB, free: 3.891 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.3862, allocations: 16.06 kB / 485.2 MB, free: 3.875 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-05/0.3862, allocations: 7.984 kB / 485.2 MB, free: 3.867 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.3863, allocations: 7.938 kB / 485.3 MB, free: 3.859 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001471/0.3864, allocations: 179.1 kB / 485.4 MB, free: 3.684 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004078/0.3868, allocations: 79.69 kB / 485.5 MB, free: 3.605 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.0001956/0.387, allocations: 127.2 kB / 485.6 MB, free: 3.469 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002396/0.3873, allocations: 128.7 kB / 485.8 MB, free: 3.344 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.3873, allocations: 384 / 485.8 MB, free: 3.344 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.603e-05/0.3874, allocations: 51.92 kB / 485.8 MB, free: 3.293 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.3876, allocations: 17.27 kB / 485.8 MB, free: 3.273 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009287/0.3886, allocations: 457.8 kB / 486.3 MB, free: 2.797 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004277/0.389, allocations: 0.806 MB / 487.1 MB, free: 1.965 MB / 362.7 MB Notification: Performance of SimCode: time 3.01e-07/0.389, allocations: 0 / 487.1 MB, free: 1.965 MB / 362.7 MB Notification: Performance of Templates: time 0.006061/0.3951, allocations: 2.007 MB / 489.1 MB, free: 0 / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches