Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.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.SynchronousInductionMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") [: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.00247/0.002469, allocations: 175.3 kB / 8.15 MB, free: 2.191 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.658/1.658, allocations: 205.2 MB / 213.8 MB, free: 13.88 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.001297/0.001296, allocations: 89.7 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.626e-06/8.796e-06, allocations: 0 / 314.3 MB, free: 9.047 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2729, allocations: 47.55 MB / 361.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1682/0.4412, allocations: 106.5 MB / 468.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003298/0.4416, allocations: 90 kB / 468.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.3802/0.8218, allocations: 49.33 MB / 0.5056 GB, free: 97.24 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003921/0.8222, allocations: 71.31 kB / 0.5057 GB, free: 97.23 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: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.01287/0.8351, allocations: 2.491 MB / 0.5081 GB, free: 96.25 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/0.8352, allocations: 7.5 kB / 0.5081 GB, free: 96.25 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002775/0.838, allocations: 339 kB / 0.5084 GB, free: 96.1 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009155/0.8472, allocations: 1.784 MB / 0.5102 GB, free: 95.64 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002675/0.8476, allocations: 78.59 kB / 0.5102 GB, free: 95.64 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001233/0.8488, allocations: 144.6 kB / 0.5104 GB, free: 95.64 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.011/0.8599, allocations: 2.372 MB / 0.5127 GB, free: 95.62 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01231/0.8722, allocations: 2.732 MB / 0.5154 GB, free: 95.25 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001645/0.8725, allocations: 12.56 kB / 0.5154 GB, free: 95.25 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007089/0.8732, allocations: 3.75 kB / 0.5154 GB, free: 95.25 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001726/0.8734, allocations: 100.8 kB / 0.5155 GB, free: 95.24 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03766/0.9111, allocations: 9.381 MB / 0.5246 GB, free: 92.63 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004071/0.9152, allocations: 0.9485 MB / 0.5256 GB, free: 92.3 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003862/0.9191, allocations: 1.049 MB / 0.5266 GB, free: 91.95 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006574/0.9198, allocations: 214.2 kB / 0.5268 GB, free: 91.76 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.114e-05/0.9199, allocations: 47.25 kB / 0.5268 GB, free: 91.71 MB / 394.7 MB Notification: Performance of pre-optimization done (n=121): time 6.352e-06/0.9199, allocations: 0 / 0.5268 GB, free: 91.71 MB / 394.7 MB Notification: Performance of matching and sorting (n=143): time 0.02641/0.9464, allocations: 5.355 MB / 0.5321 GB, free: 89.57 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.9465, allocations: 64.62 kB / 0.5321 GB, free: 89.51 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004632/0.9511, allocations: 1.293 MB / 0.5334 GB, free: 89 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004397/0.9516, allocations: 25.7 kB / 0.5334 GB, free: 88.96 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006192/0.9523, allocations: 0.8481 MB / 0.5342 GB, free: 88.3 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008874/0.9532, allocations: 472.7 kB / 0.5347 GB, free: 87.93 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002254/0.9534, allocations: 3.812 kB / 0.5347 GB, free: 87.93 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002111/0.9537, allocations: 379.6 kB / 0.5351 GB, free: 87.59 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002992/0.9567, allocations: 0.8002 MB / 0.5358 GB, free: 87.29 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003317/0.9601, allocations: 1.171 MB / 0.537 GB, free: 86.55 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003597/0.9637, allocations: 0.9892 MB / 0.538 GB, free: 86.19 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.155e-05/0.9638, allocations: 3.938 kB / 0.538 GB, free: 86.19 MB / 394.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.01116/0.975, allocations: 2.522 MB / 0.5404 GB, free: 85.36 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.067e-05/0.9751, allocations: 8.531 kB / 0.5404 GB, free: 85.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.73e-05/0.9751, allocations: 10.56 kB / 0.5404 GB, free: 85.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003738/0.9789, allocations: 0.5783 MB / 0.541 GB, free: 85.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004459/0.9834, allocations: 367.8 kB / 0.5414 GB, free: 85.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01707/1, allocations: 5.857 MB / 0.5471 GB, free: 81.49 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002335/1.003, allocations: 63.97 kB / 0.5471 GB, free: 81.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003145/1.003, allocations: 66.12 kB / 0.5472 GB, free: 81.47 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 171 * 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: 2 * 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: 2 {(8,60.9%) 20,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005541/1.004, allocations: 64.47 kB / 0.5473 GB, free: 81.41 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008495/1.005, allocations: 177.2 kB / 0.5474 GB, free: 81.32 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0106/1.015, allocations: 2.455 MB / 0.5498 GB, free: 80.44 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.461e-05/1.015, allocations: 17.53 kB / 0.5498 GB, free: 80.43 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.317e-05/1.015, allocations: 10.72 kB / 0.5498 GB, free: 80.43 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.343e-05/1.015, allocations: 7.641 kB / 0.5499 GB, free: 80.43 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02185/1.037, allocations: 4.887 MB / 0.5546 GB, free: 78.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.98e-05/1.037, allocations: 2.812 kB / 0.5546 GB, free: 78.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003154/1.041, allocations: 232.5 kB / 0.5549 GB, free: 78.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002971/1.044, allocations: 0.6319 MB / 0.5555 GB, free: 78.3 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001663/1.044, allocations: 19.8 kB / 0.5555 GB, free: 78.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01216/1.056, allocations: 7.408 MB / 0.5627 GB, free: 71.18 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/1.056, allocations: 4 kB / 0.5627 GB, free: 71.18 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008565/1.065, allocations: 3.843 MB / 0.5665 GB, free: 67.68 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00133/1.066, allocations: 443.2 kB / 0.5669 GB, free: 67.27 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004126/1.066, allocations: 12.56 kB / 0.5669 GB, free: 67.26 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001729/1.068, allocations: 66.8 kB / 0.567 GB, free: 67.21 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003079/1.068, allocations: 101.3 kB / 0.5671 GB, free: 67.15 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000147/1.069, allocations: 43.7 kB / 0.5671 GB, free: 67.11 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001956/1.071, allocations: 0.9693 MB / 0.5681 GB, free: 66.25 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002529/1.073, allocations: 491.8 kB / 0.5685 GB, free: 65.77 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 109 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,75.0%) 22,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007438/1.074, allocations: 295.1 kB / 0.5688 GB, free: 65.52 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005776/1.08, allocations: 2.394 MB / 0.5712 GB, free: 63.31 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/1.08, allocations: 0 / 0.5712 GB, free: 63.31 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003958/1.084, allocations: 1.527 MB / 0.5726 GB, free: 61.92 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002984/1.087, allocations: 331.3 kB / 0.573 GB, free: 61.66 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01205/1.099, allocations: 4.194 MB / 0.5771 GB, free: 57.87 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00298/1.102, allocations: 2.156 MB / 0.5792 GB, free: 56.13 MB / 394.7 MB Notification: Performance of SimCode: time 1.513e-06/1.102, allocations: 0 / 0.5792 GB, free: 56.13 MB / 394.7 MB Notification: Performance of Templates: time 0.09171/1.194, allocations: 64.46 MB / 0.6421 GB, free: 9.531 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMR_DOL/SMR_DOL.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches