Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.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.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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 3.2.3+maint.om/package.mo): time 0.001607/0.001607, allocations: 179.6 kB / 8.151 MB, free: 2.195 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.763/1.763, allocations: 205.2 MB / 213.8 MB, free: 13.94 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001225/0.001225, allocations: 86.89 kB / 261.8 MB, free: 13.64 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.646e-06/8.867e-06, allocations: 0 / 314.3 MB, free: 9.051 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2356, allocations: 47.55 MB / 361.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1541/0.3898, allocations: 96.72 MB / 458.6 MB, free: 5.312 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003295/0.3902, allocations: 79.95 kB / 458.6 MB, free: 5.234 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.1202/0.5104, allocations: 27.69 MB / 486.3 MB, free: 9.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.069e-05/0.5105, allocations: 20 kB / 486.3 MB, free: 9.461 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.003141/0.5137, allocations: 1.137 MB / 487.5 MB, free: 8.277 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.5138, allocations: 11.97 kB / 487.5 MB, free: 8.266 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001288/0.5151, allocations: 190.4 kB / 487.7 MB, free: 8.078 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002793/0.5179, allocations: 0.8002 MB / 488.5 MB, free: 7.238 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.655e-05/0.518, allocations: 32 kB / 488.5 MB, free: 7.207 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002014/0.5182, allocations: 59.91 kB / 488.6 MB, free: 7.148 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00197/0.5202, allocations: 0.5312 MB / 489.1 MB, free: 6.617 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002323/0.5225, allocations: 0.7513 MB / 489.9 MB, free: 5.836 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.254e-05/0.5226, allocations: 4 kB / 489.9 MB, free: 5.832 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.5228, allocations: 0 / 489.9 MB, free: 5.832 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.341e-05/0.5228, allocations: 24 kB / 489.9 MB, free: 5.809 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009093/0.5319, allocations: 3.736 MB / 493.6 MB, free: 1.863 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005373/0.5325, allocations: 185.8 kB / 493.8 MB, free: 1.676 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009115/0.5334, allocations: 253.5 kB / 494 MB, free: 1.426 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.357e-05/0.5335, allocations: 4 kB / 494.1 MB, free: 1.422 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.215e-05/0.5336, allocations: 46.28 kB / 494.1 MB, free: 1.367 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 3.467e-06/0.5336, allocations: 4 kB / 494.1 MB, free: 1.363 MB / 378.7 MB Notification: Performance of matching and sorting (n=47): time 0.003541/0.5371, allocations: 1.099 MB / 495.2 MB, free: 208 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/0.5372, allocations: 85.55 kB / 495.3 MB, free: 104 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001373/0.5386, allocations: 0.5779 MB / 495.9 MB, free: 15.52 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.769e-05/0.5387, allocations: 25.7 kB / 495.9 MB, free: 15.49 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003737/0.5391, allocations: 0.4884 MB / 496.4 MB, free: 14.99 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001763/0.5393, allocations: 161.6 kB / 496.5 MB, free: 14.83 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.379e-05/0.5394, allocations: 0 / 496.5 MB, free: 14.83 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.5395, allocations: 338.8 kB / 496.9 MB, free: 14.49 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004387/0.54, allocations: 141.5 kB / 497 MB, free: 14.35 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006599/0.5406, allocations: 424.4 kB / 497.4 MB, free: 13.8 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006109/0.5413, allocations: 216.6 kB / 497.6 MB, free: 13.59 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.421e-06/0.5413, allocations: 0 / 497.6 MB, free: 13.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001763/0.5431, allocations: 0.6217 MB / 498.2 MB, free: 12.96 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.5431, allocations: 4 kB / 498.3 MB, free: 12.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.062e-05/0.5431, allocations: 12 kB / 498.3 MB, free: 12.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004682/0.5436, allocations: 97.95 kB / 498.4 MB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/0.5447, allocations: 155.7 kB / 498.5 MB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00356/0.5483, allocations: 2.905 MB / 0.4897 GB, free: 9.559 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005834/0.5489, allocations: 23.98 kB / 0.4897 GB, free: 9.535 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.867e-05/0.549, allocations: 39.94 kB / 0.4897 GB, free: 9.496 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 82 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001601/0.5492, allocations: 57.45 kB / 0.4898 GB, free: 9.434 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002647/0.5494, allocations: 79.09 kB / 0.4899 GB, free: 9.355 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001363/0.5508, allocations: 452.7 kB / 0.4903 GB, free: 8.895 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.5508, allocations: 4 kB / 0.4903 GB, free: 8.891 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.5509, allocations: 4 kB / 0.4903 GB, free: 8.887 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.387e-06/0.5509, allocations: 3.984 kB / 0.4903 GB, free: 8.883 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002938/0.5538, allocations: 1.26 MB / 0.4915 GB, free: 7.551 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/0.5538, allocations: 4 kB / 0.4915 GB, free: 7.547 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006427/0.5545, allocations: 76.31 kB / 0.4916 GB, free: 7.473 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004817/0.555, allocations: 97.59 kB / 0.4917 GB, free: 7.371 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.656e-05/0.555, allocations: 4 kB / 0.4917 GB, free: 7.367 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003468/0.5585, allocations: 2.89 MB / 0.4945 GB, free: 4.238 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.5586, allocations: 4.125 kB / 0.4945 GB, free: 4.234 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001815/0.5604, allocations: 0.8007 MB / 0.4953 GB, free: 3.344 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004082/0.5608, allocations: 188.1 kB / 0.4955 GB, free: 3.141 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001813/0.561, allocations: 11.84 kB / 0.4955 GB, free: 3.129 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007333/0.5617, allocations: 19.98 kB / 0.4955 GB, free: 3.109 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.61e-05/0.5619, allocations: 31.95 kB / 0.4956 GB, free: 3.078 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.403e-05/0.5619, allocations: 24 kB / 0.4956 GB, free: 3.055 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0009171/0.5628, allocations: 435.2 kB / 0.496 GB, free: 2.637 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001169/0.564, allocations: 203.9 kB / 0.4962 GB, free: 2.438 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 36 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005002/0.5645, allocations: 262.5 kB / 0.4964 GB, free: 2.172 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001477/0.566, allocations: 0.6152 MB / 0.497 GB, free: 1.535 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.566, allocations: 4 kB / 0.497 GB, free: 1.531 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009047/0.567, allocations: 403.6 kB / 0.4974 GB, free: 1.117 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001413/0.5684, allocations: 166.2 kB / 0.4976 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1345/0.7029, allocations: 1.272 MB / 0.4988 GB, free: 150.3 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007982/0.7037, allocations: 1.088 MB / 0.4999 GB, free: 149.6 MB / 394.7 MB Notification: Performance of SimCode: time 1.072e-06/0.7037, allocations: 0 / 0.4999 GB, free: 149.6 MB / 394.7 MB Notification: Performance of Templates: time 0.02967/0.7334, allocations: 20.36 MB / 0.5198 GB, free: 149.2 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches