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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001713/0.001713, allocations: 176.3 kB / 17.41 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.839/2.839, allocations: 205.4 MB / 223.6 MB, free: 9.02 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.001149/0.001149, allocations: 73.06 kB / 271.9 MB, free: 8.27 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005347/0.0005355, allocations: 8 kB / 328.2 MB, free: 15.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4688/0.4693, allocations: 47.57 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2081/0.6776, allocations: 110.4 MB / 486.2 MB, free: 2.141 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000407/0.6781, allocations: 87.95 kB / 486.3 MB, free: 2.055 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5505/1.229, allocations: 65.02 MB / 0.5384 GB, free: 79.06 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.771e-06/1.229, allocations: 0 / 0.5384 GB, free: 79.06 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0005477/1.229, allocations: 83.94 kB / 0.5384 GB, free: 78.98 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01998/1.249, allocations: 3.613 MB / 0.542 GB, free: 75.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.659e-05/1.249, allocations: 8.031 kB / 0.542 GB, free: 75.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003802/1.253, allocations: 448.1 kB / 0.5424 GB, free: 74.85 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009913/1.263, allocations: 2.472 MB / 0.5448 GB, free: 72.33 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004228/1.264, allocations: 230.5 kB / 0.545 GB, free: 72.1 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001919/1.266, allocations: 308.4 kB / 0.5453 GB, free: 71.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01865/1.284, allocations: 4.358 MB / 0.5496 GB, free: 67.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002488/1.285, allocations: 7.844 kB / 0.5496 GB, free: 67.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001409/1.286, allocations: 132 kB / 0.5497 GB, free: 67.14 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001977/1.286, allocations: 130 kB / 0.5498 GB, free: 67.01 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01358/1.3, allocations: 3.623 MB / 0.5534 GB, free: 63.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04115/1.341, allocations: 13.62 MB / 0.5667 GB, free: 49.39 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006587/1.348, allocations: 2.95 MB / 0.5696 GB, free: 46.28 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004431/1.352, allocations: 1.639 MB / 0.5712 GB, free: 44.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006131/1.353, allocations: 147 kB / 0.5713 GB, free: 44.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.664e-05/1.353, allocations: 56.5 kB / 0.5714 GB, free: 44.42 MB / 378.7 MB Notification: Performance of pre-optimization done (n=167): time 8.245e-06/1.353, allocations: 0 / 0.5714 GB, free: 44.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=183): time 0.03161/1.385, allocations: 9.398 MB / 0.5805 GB, free: 34.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/1.385, allocations: 69.41 kB / 0.5806 GB, free: 34.74 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006108/1.391, allocations: 2.322 MB / 0.5829 GB, free: 32.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007518/1.392, allocations: 53.7 kB / 0.5829 GB, free: 32.33 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001541/1.393, allocations: 1.458 MB / 0.5843 GB, free: 30.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001421/1.395, allocations: 0.62 MB / 0.5849 GB, free: 30.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002668/1.395, allocations: 40 kB / 0.585 GB, free: 30.19 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000258/1.395, allocations: 381.9 kB / 0.5853 GB, free: 29.81 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003223/1.399, allocations: 1.136 MB / 0.5865 GB, free: 28.67 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003584/1.402, allocations: 1.546 MB / 0.588 GB, free: 26.97 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006571/1.409, allocations: 2.771 MB / 0.5907 GB, free: 24.05 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.459e-05/1.409, allocations: 4 kB / 0.5907 GB, free: 24.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.01104/1.42, allocations: 3.6 MB / 0.5942 GB, free: 20.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.545e-05/1.42, allocations: 14.06 kB / 0.5942 GB, free: 20.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-05/1.42, allocations: 19.92 kB / 0.5942 GB, free: 20.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003235/1.424, allocations: 0.8136 MB / 0.595 GB, free: 19.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003493/1.427, allocations: 459.3 kB / 0.5955 GB, free: 19.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01449/1.442, allocations: 10.85 MB / 0.6061 GB, free: 7.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004237/1.446, allocations: 127.9 kB / 0.6062 GB, free: 7.445 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008691/1.447, allocations: 75.98 kB / 0.6063 GB, free: 7.371 MB / 378.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 () * Number of clocked 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 {(2,100.0%) 14,(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.00498/1.452, allocations: 1.1 MB / 0.6073 GB, free: 6.266 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001496/1.453, allocations: 249 kB / 0.6076 GB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009466/1.463, allocations: 3.383 MB / 0.6109 GB, free: 2.594 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.384e-05/1.463, allocations: 16 kB / 0.6109 GB, free: 2.578 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.842e-05/1.463, allocations: 8 kB / 0.6109 GB, free: 2.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.613e-05/1.463, allocations: 11.97 kB / 0.6109 GB, free: 2.559 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02929/1.493, allocations: 7.047 MB / 0.6178 GB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.839e-05/1.493, allocations: 0 / 0.6178 GB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003502/1.496, allocations: 311.9 kB / 0.6181 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005297/1.502, allocations: 0.9261 MB / 0.619 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007999/1.502, allocations: 47.98 kB / 0.619 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02462/1.527, allocations: 13.49 MB / 0.6322 GB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.076e-05/1.527, allocations: 3.984 kB / 0.6322 GB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01614/1.543, allocations: 4.983 MB / 0.6371 GB, free: 6.602 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003483/1.547, allocations: 0.5723 MB / 0.6376 GB, free: 6.008 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001499/1.548, allocations: 36 kB / 0.6377 GB, free: 5.973 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003743/1.552, allocations: 135.9 kB / 0.6378 GB, free: 5.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001179/1.553, allocations: 165.6 kB / 0.638 GB, free: 5.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003357/1.554, allocations: 51.98 kB / 0.638 GB, free: 5.629 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.006679/1.561, allocations: 1.598 MB / 0.6396 GB, free: 4.016 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.593e-06/1.561, allocations: 0 / 0.6396 GB, free: 4.016 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007898/1.569, allocations: 0.7382 MB / 0.6403 GB, free: 3.277 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 141 * 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.001817/1.57, allocations: 377.7 kB / 0.6406 GB, free: 2.898 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.4071/1.977, allocations: 3.642 MB / 0.6442 GB, free: 102.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.224e-05/1.978, allocations: 0 / 0.6442 GB, free: 102.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007007/1.985, allocations: 2.565 MB / 0.6467 GB, free: 101.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008522/1.993, allocations: 0.6777 MB / 0.6474 GB, free: 101.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02417/2.017, allocations: 8.004 MB / 0.6552 GB, free: 98.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006173/2.024, allocations: 2.483 MB / 0.6576 GB, free: 97.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002068/2.026, allocations: 168.8 kB / 0.6578 GB, free: 97.61 MB / 410.7 MB Notification: Performance of SimCode: time 1.843e-06/2.026, allocations: 0 / 0.6578 GB, free: 97.61 MB / 410.7 MB Notification: Performance of Templates: time 0.7986/2.824, allocations: 168.1 MB / 0.8219 GB, free: 130.2 MB / 442.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