Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001564/0.001564, allocations: 182.5 kB / 8.477 MB, free: 1.828 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.145/1.145, allocations: 205.2 MB / 214.1 MB, free: 5.094 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008663/0.0008663, allocations: 79.73 kB / 262.1 MB, free: 5.141 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.492e-06/6.522e-06, allocations: 3.938 kB / 315 MB, free: 41.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06444/0.06446, allocations: 47.57 MB / 362.6 MB, free: 9.949 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2081/0.2726, allocations: 96.7 MB / 459.3 MB, free: 7.59 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001919/0.2729, allocations: 84.2 kB / 459.3 MB, free: 7.578 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.06945/0.3423, allocations: 27.68 MB / 487 MB, free: 5.84 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.198e-05/0.3424, allocations: 23.94 kB / 487 MB, free: 5.816 MB / 330.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.001605/0.344, allocations: 1.139 MB / 488.2 MB, free: 4.695 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.3441, allocations: 8.031 kB / 488.2 MB, free: 4.688 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006665/0.3447, allocations: 190.4 kB / 488.4 MB, free: 4.5 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/0.3461, allocations: 0.8022 MB / 489.2 MB, free: 3.832 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.037e-05/0.3461, allocations: 32 kB / 489.2 MB, free: 3.801 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.3462, allocations: 59.91 kB / 489.3 MB, free: 3.742 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009491/0.3472, allocations: 0.5299 MB / 489.8 MB, free: 3.43 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001213/0.3484, allocations: 0.7543 MB / 490.6 MB, free: 2.867 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.164e-05/0.3485, allocations: 4 kB / 490.6 MB, free: 2.863 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.095e-05/0.3485, allocations: 0 / 490.6 MB, free: 2.863 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.208e-05/0.3485, allocations: 24 kB / 490.6 MB, free: 2.84 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004463/0.353, allocations: 3.734 MB / 494.3 MB, free: 15.67 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002707/0.3533, allocations: 186.5 kB / 494.5 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004811/0.3538, allocations: 260.4 kB / 494.8 MB, free: 15.36 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.405e-05/0.3538, allocations: 4 kB / 494.8 MB, free: 15.35 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.3539, allocations: 42.03 kB / 494.8 MB, free: 15.3 MB / 346.7 MB Notification: Performance of pre-optimization done (n=42): time 1.683e-06/0.3539, allocations: 3.938 kB / 494.8 MB, free: 15.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=47): time 0.001891/0.3558, allocations: 1.101 MB / 495.9 MB, free: 14.33 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.3558, allocations: 81.55 kB / 496 MB, free: 14.23 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006598/0.3565, allocations: 0.5782 MB / 496.6 MB, free: 13.81 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.3565, allocations: 29.7 kB / 496.6 MB, free: 13.77 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002195/0.3568, allocations: 476.5 kB / 497.1 MB, free: 13.36 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.823e-05/0.3569, allocations: 157.3 kB / 497.2 MB, free: 13.22 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.285e-05/0.3569, allocations: 4 kB / 497.2 MB, free: 13.21 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.357, allocations: 387.1 kB / 497.6 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002235/0.3573, allocations: 135.9 kB / 497.7 MB, free: 12.78 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003633/0.3576, allocations: 423 kB / 498.1 MB, free: 12.31 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003377/0.358, allocations: 209.4 kB / 498.3 MB, free: 12.18 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.358, allocations: 3.984 kB / 498.3 MB, free: 12.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001117/0.3591, allocations: 0.6688 MB / 499 MB, free: 11.63 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.3591, allocations: 4 kB / 499 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.3592, allocations: 12 kB / 499 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003034/0.3595, allocations: 96.92 kB / 499.1 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005441/0.36, allocations: 163.7 kB / 499.3 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002337/0.3624, allocations: 2.905 MB / 0.4904 GB, free: 8.238 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004966/0.3629, allocations: 20.06 kB / 0.4904 GB, free: 8.219 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.664e-05/0.3629, allocations: 39.98 kB / 0.4905 GB, free: 8.18 MB / 346.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.0001236/0.3631, allocations: 136.7 kB / 0.4906 GB, free: 8.039 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.3632, allocations: 83 kB / 0.4907 GB, free: 7.957 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007956/0.364, allocations: 440.8 kB / 0.4911 GB, free: 7.504 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.364, allocations: 4 kB / 0.4911 GB, free: 7.5 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.364, allocations: 11.91 kB / 0.4911 GB, free: 7.488 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.364, allocations: 3.984 kB / 0.4911 GB, free: 7.484 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001772/0.3658, allocations: 1.256 MB / 0.4924 GB, free: 6.156 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.3658, allocations: 4 kB / 0.4924 GB, free: 6.152 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003606/0.3662, allocations: 80.02 kB / 0.4924 GB, free: 6.074 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002496/0.3664, allocations: 89.61 kB / 0.4925 GB, free: 5.977 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/0.3665, allocations: 4 kB / 0.4925 GB, free: 5.973 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002229/0.3687, allocations: 2.887 MB / 0.4953 GB, free: 2.852 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.3687, allocations: 8.125 kB / 0.4953 GB, free: 2.844 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001017/0.3698, allocations: 0.8046 MB / 0.4961 GB, free: 1.949 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002552/0.37, allocations: 184.2 kB / 0.4963 GB, free: 1.746 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.3701, allocations: 11.98 kB / 0.4963 GB, free: 1.734 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004286/0.3706, allocations: 23.97 kB / 0.4963 GB, free: 1.711 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.755e-05/0.3707, allocations: 35.81 kB / 0.4964 GB, free: 1.676 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.12e-05/0.3707, allocations: 16 kB / 0.4964 GB, free: 1.66 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0005213/0.3712, allocations: 443.1 kB / 0.4968 GB, free: 1.234 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007962/0.372, allocations: 195.9 kB / 0.497 GB, free: 1.043 MB / 346.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.0003582/0.3724, allocations: 258.3 kB / 0.4972 GB, free: 0.7812 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009125/0.3733, allocations: 0.6234 MB / 0.4979 GB, free: 140 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3733, allocations: 0 / 0.4979 GB, free: 140 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005587/0.3739, allocations: 403.6 kB / 0.4982 GB, free: 15.72 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008227/0.3747, allocations: 181.5 kB / 0.4984 GB, free: 15.55 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002303/0.377, allocations: 1.231 MB / 0.4996 GB, free: 14.26 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006761/0.3777, allocations: 1.078 MB / 0.5007 GB, free: 13.16 MB / 362.7 MB Notification: Performance of SimCode: time 3.8e-07/0.3777, allocations: 0 / 0.5007 GB, free: 13.16 MB / 362.7 MB Notification: Performance of Templates: time 0.01736/0.3951, allocations: 9.305 MB / 0.5098 GB, free: 3.852 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins/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_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches