Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.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.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") [: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.001624/0.001624, allocations: 191.5 kB / 8.534 MB, free: 1.812 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.179/1.179, allocations: 225.5 MB / 234.4 MB, free: 3.43 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008136/0.0008137, allocations: 90.52 kB / 286.3 MB, free: 5.238 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 9.077e-06/9.107e-06, allocations: 4 kB / 343.1 MB, free: 8.746 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08198/0.082, allocations: 51.47 MB / 394.6 MB, free: 5.219 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2216/0.3036, allocations: 94.45 MB / 489.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/0.3039, allocations: 81.77 kB / 489.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.05954/0.3634, allocations: 22.69 MB / 0.4998 GB, free: 12.58 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.907e-05/0.3635, allocations: 23.94 kB / 0.4999 GB, free: 12.56 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.001629/0.3652, allocations: 0.9947 MB / 0.5008 GB, free: 11.58 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.3652, allocations: 8.031 kB / 0.5008 GB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005754/0.3658, allocations: 150.7 kB / 0.501 GB, free: 11.42 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.3671, allocations: 0.6863 MB / 0.5016 GB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.19e-05/0.3671, allocations: 24 kB / 0.5017 GB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.3672, allocations: 55.84 kB / 0.5017 GB, free: 10.76 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008032/0.368, allocations: 427.5 kB / 0.5021 GB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.3691, allocations: 0.6282 MB / 0.5027 GB, free: 10.04 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.241e-05/0.3691, allocations: 7.344 kB / 0.5027 GB, free: 10.03 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.402e-05/0.3692, allocations: 4 kB / 0.5028 GB, free: 10.03 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.832e-05/0.3692, allocations: 16 kB / 0.5028 GB, free: 10.01 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004122/0.3733, allocations: 3.297 MB / 0.506 GB, free: 6.992 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/0.3736, allocations: 130.4 kB / 0.5061 GB, free: 6.859 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/0.3737, allocations: 89.3 kB / 0.5062 GB, free: 6.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.73e-05/0.3737, allocations: 4.078 kB / 0.5062 GB, free: 6.766 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.3738, allocations: 38.5 kB / 0.5062 GB, free: 6.719 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 1.493e-06/0.3738, allocations: 4 kB / 0.5062 GB, free: 6.715 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.001231/0.375, allocations: 0.7563 MB / 0.507 GB, free: 5.902 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.3751, allocations: 81.34 kB / 0.5071 GB, free: 5.805 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006496/0.3757, allocations: 0.5191 MB / 0.5076 GB, free: 5.277 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.3758, allocations: 26.45 kB / 0.5076 GB, free: 5.246 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002172/0.376, allocations: 425.7 kB / 0.508 GB, free: 4.824 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.982e-05/0.3761, allocations: 102.5 kB / 0.5081 GB, free: 4.723 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.47e-05/0.3761, allocations: 4 kB / 0.5081 GB, free: 4.719 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.3762, allocations: 378.8 kB / 0.5085 GB, free: 4.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.3764, allocations: 97.25 kB / 0.5086 GB, free: 4.246 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003045/0.3767, allocations: 377 kB / 0.5089 GB, free: 3.738 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002571/0.377, allocations: 163.8 kB / 0.5091 GB, free: 3.578 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.377, allocations: 7.938 kB / 0.5091 GB, free: 3.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007789/0.3778, allocations: 0.4917 MB / 0.5096 GB, free: 3.074 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.3778, allocations: 6.344 kB / 0.5096 GB, free: 3.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.3778, allocations: 8 kB / 0.5096 GB, free: 3.062 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000146/0.378, allocations: 37.53 kB / 0.5096 GB, free: 3.023 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004949/0.3785, allocations: 147.8 kB / 0.5097 GB, free: 2.879 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009305/0.3794, allocations: 1.236 MB / 0.511 GB, free: 1.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004199/0.3798, allocations: 32.02 kB / 0.511 GB, free: 1.488 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.644e-05/0.3799, allocations: 32 kB / 0.511 GB, free: 1.457 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * 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 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.762e-05/0.38, allocations: 120.8 kB / 0.5111 GB, free: 1.332 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.596e-05/0.3801, allocations: 67.16 kB / 0.5112 GB, free: 1.266 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004509/0.3806, allocations: 256.9 kB / 0.5114 GB, free: 1 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.3806, allocations: 4 kB / 0.5114 GB, free: 0.9961 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.3806, allocations: 4 kB / 0.5114 GB, free: 0.9922 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.3806, allocations: 4.031 kB / 0.5114 GB, free: 0.9883 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001206/0.3818, allocations: 0.9143 MB / 0.5123 GB, free: 8 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.3818, allocations: 0 / 0.5123 GB, free: 8 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000311/0.3821, allocations: 71.89 kB / 0.5124 GB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.564e-05/0.3822, allocations: 20.84 kB / 0.5124 GB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/0.3823, allocations: 4.188 kB / 0.5124 GB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007956/0.3831, allocations: 1.221 MB / 0.5136 GB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.712e-06/0.3831, allocations: 11.88 kB / 0.5136 GB, free: 14.56 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005932/0.3837, allocations: 0.5581 MB / 0.5142 GB, free: 13.92 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00019/0.3839, allocations: 168.2 kB / 0.5143 GB, free: 13.74 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.806e-05/0.384, allocations: 7.984 kB / 0.5144 GB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003207/0.3843, allocations: 15.98 kB / 0.5144 GB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.365e-05/0.3844, allocations: 23.92 kB / 0.5144 GB, free: 13.69 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.3844, allocations: 11.98 kB / 0.5144 GB, free: 13.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0004476/0.3848, allocations: 391.2 kB / 0.5148 GB, free: 13.3 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006425/0.3855, allocations: 160 kB / 0.5149 GB, free: 13.15 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,dcpm.la.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 26 * 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 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003892/0.3859, allocations: 254.9 kB / 0.5152 GB, free: 12.9 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000587/0.3865, allocations: 385.7 kB / 0.5155 GB, free: 12.52 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3865, allocations: 0 / 0.5155 GB, free: 12.52 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002623/0.3868, allocations: 203.6 kB / 0.5157 GB, free: 12.31 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007128/0.3875, allocations: 143.8 kB / 0.5159 GB, free: 12.18 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001859/0.3894, allocations: 0.9983 MB / 0.5168 GB, free: 11.12 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006263/0.39, allocations: 1.013 MB / 0.5178 GB, free: 10.08 MB / 394.7 MB Notification: Performance of SimCode: time 3e-07/0.39, allocations: 0 / 0.5178 GB, free: 10.08 MB / 394.7 MB Notification: Performance of Templates: time 0.01415/0.4042, allocations: 7.111 MB / 0.5248 GB, free: 3.082 MB / 394.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start/DCPM_Start.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches