Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_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.AsynchronousInductionMachines.AIMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aims.i_0_r|aimc.ir.1.|aimc.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aimc.is.1.|aimc.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aims.i_0_r|aimc.ir.1.|aimc.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aimc.is.1.|aimc.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_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.001577/0.001577, allocations: 178.9 kB / 8.15 MB, free: 2.094 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.614/1.614, allocations: 205.2 MB / 213.7 MB, free: 13.87 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.00134/0.00134, allocations: 97.3 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.24e-05/1.271e-05, allocations: 0 / 314.3 MB, free: 9.043 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2566, allocations: 47.56 MB / 361.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1653/0.4219, allocations: 109.4 MB / 471.2 MB, free: 8.617 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003188/0.4223, allocations: 79.95 kB / 471.3 MB, free: 8.539 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.4258/0.8481, allocations: 64.26 MB / 0.523 GB, free: 98.53 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003696/0.8486, allocations: 80.06 kB / 0.5231 GB, free: 98.52 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01212/0.8607, allocations: 3.236 MB / 0.5262 GB, free: 97.15 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.8608, allocations: 11.69 kB / 0.5263 GB, free: 97.15 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00261/0.8634, allocations: 453.3 kB / 0.5267 GB, free: 96.95 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008318/0.8717, allocations: 2.397 MB / 0.529 GB, free: 96.41 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002221/0.872, allocations: 98.84 kB / 0.5291 GB, free: 96.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001363/0.8734, allocations: 181.8 kB / 0.5293 GB, free: 96.4 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01132/0.8848, allocations: 3.382 MB / 0.5326 GB, free: 95.21 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01366/0.8985, allocations: 3.861 MB / 0.5364 GB, free: 93.48 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001561/0.8987, allocations: 6.5 kB / 0.5364 GB, free: 93.48 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007587/0.8995, allocations: 4.219 kB / 0.5364 GB, free: 93.48 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001797/0.8997, allocations: 138.1 kB / 0.5365 GB, free: 93.46 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0397/0.9394, allocations: 13.08 MB / 0.5493 GB, free: 86.64 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00537/0.9448, allocations: 1.328 MB / 0.5506 GB, free: 86.15 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007323/0.9522, allocations: 1.592 MB / 0.5521 GB, free: 85.63 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006986/0.9529, allocations: 137.8 kB / 0.5523 GB, free: 85.54 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.942e-05/0.953, allocations: 54.34 kB / 0.5523 GB, free: 85.48 MB / 394.7 MB Notification: Performance of pre-optimization done (n=167): time 1.2e-05/0.9531, allocations: 0 / 0.5523 GB, free: 85.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=183): time 0.02256/0.9757, allocations: 6.419 MB / 0.5586 GB, free: 80.75 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.9758, allocations: 73.41 kB / 0.5587 GB, free: 80.66 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00464/0.9804, allocations: 1.733 MB / 0.5604 GB, free: 79.09 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004693/0.9809, allocations: 29.7 kB / 0.5604 GB, free: 79.05 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005753/0.9815, allocations: 1.029 MB / 0.5614 GB, free: 78.13 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008888/0.9824, allocations: 0.5916 MB / 0.562 GB, free: 77.59 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001933/0.9826, allocations: 3.938 kB / 0.562 GB, free: 77.59 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.9828, allocations: 386.6 kB / 0.5623 GB, free: 77.22 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002687/0.9855, allocations: 1.086 MB / 0.5634 GB, free: 76.26 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003109/0.9887, allocations: 1.483 MB / 0.5648 GB, free: 74.71 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00349/0.9922, allocations: 1.294 MB / 0.5661 GB, free: 73.43 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-05/0.9923, allocations: 4 kB / 0.5661 GB, free: 73.42 MB / 394.7 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.009183/1.002, allocations: 3.239 MB / 0.5693 GB, free: 70.16 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/1.002, allocations: 4 kB / 0.5693 GB, free: 70.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-05/1.002, allocations: 15.91 kB / 0.5693 GB, free: 70.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002905/1.005, allocations: 0.7354 MB / 0.57 GB, free: 69.39 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004006/1.009, allocations: 454.2 kB / 0.5704 GB, free: 68.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01462/1.023, allocations: 10.18 MB / 0.5804 GB, free: 58.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002016/1.025, allocations: 67.84 kB / 0.5804 GB, free: 58.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002929/1.026, allocations: 75.98 kB / 0.5805 GB, free: 58.09 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 207 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(6,55.6%) 10,(1,100.0%) 1,(2,100.0%) 5,(2,100.0%) 5,(2,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005347/1.026, allocations: 77.48 kB / 0.5806 GB, free: 58 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007781/1.027, allocations: 221.3 kB / 0.5808 GB, free: 57.79 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009245/1.036, allocations: 3.179 MB / 0.5839 GB, free: 54.57 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.918e-05/1.036, allocations: 24 kB / 0.5839 GB, free: 54.55 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.396e-05/1.036, allocations: 4 kB / 0.5839 GB, free: 54.55 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-05/1.036, allocations: 9.156 kB / 0.5839 GB, free: 54.54 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0187/1.055, allocations: 6.49 MB / 0.5903 GB, free: 48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.57e-05/1.055, allocations: 3.984 kB / 0.5903 GB, free: 48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002891/1.058, allocations: 299.8 kB / 0.5906 GB, free: 47.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004274/1.062, allocations: 0.9077 MB / 0.5915 GB, free: 46.77 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000464/1.063, allocations: 19.97 kB / 0.5915 GB, free: 46.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01658/1.08, allocations: 12.65 MB / 0.6038 GB, free: 33.32 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.077e-06/1.08, allocations: 4 kB / 0.6038 GB, free: 33.32 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0122/1.092, allocations: 4.915 MB / 0.6086 GB, free: 28.29 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002225/1.094, allocations: 0.5528 MB / 0.6092 GB, free: 27.71 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000903/1.095, allocations: 7.984 kB / 0.6092 GB, free: 27.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003028/1.098, allocations: 87.92 kB / 0.6093 GB, free: 27.62 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006556/1.099, allocations: 129.7 kB / 0.6094 GB, free: 27.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002399/1.099, allocations: 51.98 kB / 0.6094 GB, free: 27.45 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.00318/1.102, allocations: 1.315 MB / 0.6107 GB, free: 26.11 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00393/1.106, allocations: 0.633 MB / 0.6113 GB, free: 25.48 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009788/1.107, allocations: 315 kB / 0.6116 GB, free: 25.18 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00822/1.116, allocations: 3.433 MB / 0.615 GB, free: 21.66 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.807e-06/1.116, allocations: 0 / 0.615 GB, free: 21.66 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005542/1.121, allocations: 2.322 MB / 0.6173 GB, free: 19.25 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004852/1.126, allocations: 0.4923 MB / 0.6177 GB, free: 18.77 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01681/1.143, allocations: 5.59 MB / 0.6232 GB, free: 13.13 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004996/1.148, allocations: 2.692 MB / 0.6258 GB, free: 10.41 MB / 394.7 MB Notification: Performance of SimCode: time 2.044e-06/1.148, allocations: 0 / 0.6258 GB, free: 10.41 MB / 394.7 MB Notification: Performance of Templates: time 0.3562/1.504, allocations: 153.9 MB / 0.7761 GB, free: 51.11 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMS_Start/AIMS_Start.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches