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.002218/0.002218, allocations: 180 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.075/2.075, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001105/0.001105, allocations: 89.34 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 1.669e-05/1.67e-05, allocations: 0 / 314.8 MB, free: 9.168 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.324, allocations: 47.57 MB / 362.3 MB, free: 45.87 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.176/0.5, allocations: 109.5 MB / 471.8 MB, free: 8.812 MB / 363.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003379/0.5004, allocations: 93.06 kB / 471.9 MB, free: 8.723 MB / 363.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.5318/1.032, allocations: 64.33 MB / 0.5237 GB, free: 98.31 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.565e-06/1.032, allocations: 0 / 0.5237 GB, free: 98.31 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0003969/1.033, allocations: 90.03 kB / 0.5237 GB, free: 98.29 MB / 395.1 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/1.045, allocations: 3.247 MB / 0.5269 GB, free: 96.96 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/1.045, allocations: 6.688 kB / 0.5269 GB, free: 96.96 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00265/1.048, allocations: 446 kB / 0.5273 GB, free: 96.76 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007943/1.056, allocations: 2.379 MB / 0.5297 GB, free: 96.22 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002128/1.056, allocations: 105.3 kB / 0.5298 GB, free: 96.22 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001216/1.057, allocations: 188.6 kB / 0.5299 GB, free: 96.21 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009773/1.067, allocations: 3.294 MB / 0.5332 GB, free: 95.13 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0121/1.079, allocations: 3.795 MB / 0.5369 GB, free: 93.41 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001449/1.079, allocations: 7.453 kB / 0.5369 GB, free: 93.41 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006985/1.08, allocations: 6.094 kB / 0.5369 GB, free: 93.41 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001594/1.08, allocations: 124.6 kB / 0.537 GB, free: 93.4 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03361/1.114, allocations: 12.99 MB / 0.5497 GB, free: 86.59 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004744/1.119, allocations: 2.811 MB / 0.5524 GB, free: 84.89 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00328/1.122, allocations: 1.47 MB / 0.5539 GB, free: 84.39 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004332/1.122, allocations: 138.8 kB / 0.554 GB, free: 84.3 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.931e-05/1.122, allocations: 66.03 kB / 0.5541 GB, free: 84.23 MB / 395.1 MB Notification: Performance of pre-optimization done (n=167): time 4.799e-06/1.122, allocations: 0 / 0.5541 GB, free: 84.23 MB / 395.1 MB Notification: Performance of matching and sorting (n=183): time 0.01726/1.14, allocations: 6.307 MB / 0.5602 GB, free: 80.02 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/1.14, allocations: 73.36 kB / 0.5603 GB, free: 79.94 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003481/1.143, allocations: 1.709 MB / 0.562 GB, free: 78.39 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004837/1.144, allocations: 25.7 kB / 0.562 GB, free: 78.36 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009663/1.145, allocations: 1.38 MB / 0.5633 GB, free: 77.09 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007703/1.146, allocations: 0.5851 MB / 0.5639 GB, free: 76.55 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001836/1.146, allocations: 0 / 0.5639 GB, free: 76.55 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/1.146, allocations: 389.5 kB / 0.5643 GB, free: 76.18 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002172/1.148, allocations: 1.044 MB / 0.5653 GB, free: 75.26 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002418/1.151, allocations: 1.443 MB / 0.5667 GB, free: 73.7 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002855/1.153, allocations: 1.251 MB / 0.5679 GB, free: 72.45 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.891e-05/1.153, allocations: 4 kB / 0.5679 GB, free: 72.44 MB / 395.1 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.008096/1.162, allocations: 3.152 MB / 0.571 GB, free: 69.26 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.42e-05/1.162, allocations: 8 kB / 0.571 GB, free: 69.25 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.486e-05/1.162, allocations: 16.28 kB / 0.571 GB, free: 69.24 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003076/1.165, allocations: 0.7893 MB / 0.5718 GB, free: 68.43 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003542/1.168, allocations: 463.3 kB / 0.5722 GB, free: 67.98 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01284/1.181, allocations: 10.39 MB / 0.5824 GB, free: 57.04 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002976/1.184, allocations: 83.88 kB / 0.5825 GB, free: 56.96 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003574/1.185, allocations: 76.06 kB / 0.5825 GB, free: 56.88 MB / 395.1 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 {(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.0005044/1.185, allocations: 159.9 kB / 0.5827 GB, free: 56.72 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006175/1.186, allocations: 221.3 kB / 0.5829 GB, free: 56.5 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00746/1.193, allocations: 3.096 MB / 0.5859 GB, free: 53.37 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.139e-05/1.193, allocations: 16 kB / 0.5859 GB, free: 53.36 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.641e-05/1.193, allocations: 11.95 kB / 0.586 GB, free: 53.34 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.651e-05/1.193, allocations: 11.95 kB / 0.586 GB, free: 53.33 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01743/1.211, allocations: 6.375 MB / 0.5922 GB, free: 46.9 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.735e-05/1.211, allocations: 4 kB / 0.5922 GB, free: 46.9 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002661/1.214, allocations: 311.8 kB / 0.5925 GB, free: 46.59 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003735/1.217, allocations: 0.9026 MB / 0.5934 GB, free: 45.67 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003428/1.218, allocations: 15.98 kB / 0.5934 GB, free: 45.66 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01477/1.233, allocations: 12.94 MB / 0.606 GB, free: 31.93 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.736e-06/1.233, allocations: 7.969 kB / 0.606 GB, free: 31.92 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01024/1.243, allocations: 4.764 MB / 0.6107 GB, free: 27.04 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002171/1.245, allocations: 0.5451 MB / 0.6112 GB, free: 26.47 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007817/1.246, allocations: 12.67 kB / 0.6112 GB, free: 26.46 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002702/1.249, allocations: 103.8 kB / 0.6113 GB, free: 26.36 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007152/1.249, allocations: 153.8 kB / 0.6115 GB, free: 26.21 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002159/1.25, allocations: 55.98 kB / 0.6115 GB, free: 26.16 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.002782/1.252, allocations: 1.295 MB / 0.6128 GB, free: 24.84 MB / 395.1 MB Notification: Performance of sort global known variables: time 7.81e-07/1.252, allocations: 0 / 0.6128 GB, free: 24.84 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.003793/1.256, allocations: 0.6406 MB / 0.6134 GB, free: 24.2 MB / 395.1 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.0008876/1.257, allocations: 319.4 kB / 0.6137 GB, free: 23.91 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.006895/1.264, allocations: 3.393 MB / 0.617 GB, free: 20.42 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/1.264, allocations: 4 kB / 0.617 GB, free: 20.42 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004977/1.269, allocations: 2.38 MB / 0.6194 GB, free: 17.95 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00461/1.274, allocations: 0.533 MB / 0.6199 GB, free: 17.43 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01403/1.288, allocations: 5.48 MB / 0.6252 GB, free: 11.91 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003025/1.291, allocations: 2.547 MB / 0.6277 GB, free: 9.328 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00126/1.292, allocations: 155.4 kB / 0.6279 GB, free: 9.176 MB / 395.1 MB Notification: Performance of SimCode: time 1.784e-06/1.292, allocations: 0 / 0.6279 GB, free: 9.176 MB / 395.1 MB Notification: Performance of Templates: time 0.5199/1.812, allocations: 156.3 MB / 0.7805 GB, free: 7.488 MB / 411.1 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