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.001464/0.001464, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.937/1.937, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001172/0.001172, allocations: 94.62 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.849e-05/2.864e-05, allocations: 4 kB / 321.5 MB, free: 17.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09481/0.09486, allocations: 47.58 MB / 369.1 MB, free: 2.203 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.44/0.5349, allocations: 110.1 MB / 479.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003102/0.5353, allocations: 87.39 kB / 479.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5491/1.084, allocations: 65.19 MB / 0.5317 GB, free: 91.08 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.675e-06/1.084, allocations: 3.062 kB / 0.5317 GB, free: 91.08 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004367/1.085, allocations: 88.94 kB / 0.5318 GB, free: 91.08 MB / 410.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.0131/1.098, allocations: 3.249 MB / 0.535 GB, free: 90.44 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/1.098, allocations: 12.38 kB / 0.535 GB, free: 90.44 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002992/1.101, allocations: 444.4 kB / 0.5354 GB, free: 90.24 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008961/1.11, allocations: 2.38 MB / 0.5377 GB, free: 89.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004732/1.111, allocations: 229.6 kB / 0.538 GB, free: 89.72 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001651/1.112, allocations: 303.5 kB / 0.5383 GB, free: 89.72 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01468/1.127, allocations: 4.239 MB / 0.5424 GB, free: 89.22 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001657/1.127, allocations: 13.48 kB / 0.5424 GB, free: 89.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006551/1.128, allocations: 132.6 kB / 0.5425 GB, free: 89.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002227/1.128, allocations: 126.4 kB / 0.5427 GB, free: 89.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01192/1.14, allocations: 3.489 MB / 0.5461 GB, free: 89.18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03554/1.176, allocations: 13.59 MB / 0.5593 GB, free: 85.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004928/1.181, allocations: 2.896 MB / 0.5622 GB, free: 84.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003737/1.184, allocations: 1.584 MB / 0.5637 GB, free: 83.88 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004676/1.185, allocations: 142.8 kB / 0.5638 GB, free: 83.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/1.185, allocations: 61.27 kB / 0.5639 GB, free: 83.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=167): time 4.068e-06/1.185, allocations: 0 / 0.5639 GB, free: 83.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=183): time 0.02303/1.208, allocations: 7.308 MB / 0.571 GB, free: 80.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.285e-05/1.208, allocations: 76.62 kB / 0.5711 GB, free: 80.85 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004276/1.212, allocations: 2.044 MB / 0.5731 GB, free: 80.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004401/1.213, allocations: 57.33 kB / 0.5732 GB, free: 80 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009503/1.214, allocations: 1.356 MB / 0.5745 GB, free: 78.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006955/1.215, allocations: 0.6044 MB / 0.5751 GB, free: 78.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001854/1.215, allocations: 39.34 kB / 0.5751 GB, free: 78.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/1.215, allocations: 391.3 kB / 0.5755 GB, free: 78.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00238/1.217, allocations: 1.082 MB / 0.5765 GB, free: 77.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002677/1.22, allocations: 1.488 MB / 0.578 GB, free: 76.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002864/1.223, allocations: 1.288 MB / 0.5793 GB, free: 76.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.42e-05/1.223, allocations: 3.938 kB / 0.5793 GB, free: 76.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.008205/1.231, allocations: 3.345 MB / 0.5825 GB, free: 75.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.718e-05/1.231, allocations: 9.875 kB / 0.5825 GB, free: 75.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-05/1.231, allocations: 17.62 kB / 0.5825 GB, free: 75.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0031/1.234, allocations: 0.8123 MB / 0.5833 GB, free: 74.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003503/1.238, allocations: 460.3 kB / 0.5838 GB, free: 74.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01356/1.252, allocations: 10.83 MB / 0.5944 GB, free: 66.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003227/1.255, allocations: 130.5 kB / 0.5945 GB, free: 66.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000337/1.255, allocations: 74.81 kB / 0.5945 GB, free: 66.39 MB / 410.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 {(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.0005481/1.256, allocations: 222.9 kB / 0.5948 GB, free: 66.22 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007321/1.256, allocations: 252.2 kB / 0.595 GB, free: 66.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008143/1.265, allocations: 3.276 MB / 0.5982 GB, free: 64.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.118e-05/1.265, allocations: 17.78 kB / 0.5982 GB, free: 64.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.641e-05/1.265, allocations: 10.2 kB / 0.5982 GB, free: 64.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.097e-05/1.265, allocations: 13.41 kB / 0.5982 GB, free: 64.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01796/1.283, allocations: 6.945 MB / 0.605 GB, free: 62.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.289e-05/1.283, allocations: 3.938 kB / 0.605 GB, free: 62.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002562/1.285, allocations: 318.8 kB / 0.6053 GB, free: 62.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003876/1.289, allocations: 0.9092 MB / 0.6062 GB, free: 61.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003668/1.29, allocations: 48.69 kB / 0.6063 GB, free: 61.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01569/1.305, allocations: 13.48 MB / 0.6194 GB, free: 48.81 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.305, allocations: 4.031 kB / 0.6194 GB, free: 48.81 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01088/1.316, allocations: 4.986 MB / 0.6243 GB, free: 44.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002128/1.318, allocations: 0.5765 MB / 0.6249 GB, free: 43.76 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006937/1.319, allocations: 36 kB / 0.6249 GB, free: 43.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002489/1.322, allocations: 128.5 kB / 0.625 GB, free: 43.63 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005636/1.322, allocations: 170.1 kB / 0.6252 GB, free: 43.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000191/1.323, allocations: 57.62 kB / 0.6252 GB, free: 43.47 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003248/1.326, allocations: 1.563 MB / 0.6268 GB, free: 42.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.944e-06/1.326, allocations: 4 kB / 0.6268 GB, free: 42.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003599/1.329, allocations: 0.7458 MB / 0.6275 GB, free: 41.3 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 () * 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.0008527/1.33, allocations: 363.2 kB / 0.6278 GB, free: 41.01 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007108/1.337, allocations: 3.53 MB / 0.6313 GB, free: 37.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/1.337, allocations: 256 / 0.6313 GB, free: 37.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005173/1.343, allocations: 2.498 MB / 0.6337 GB, free: 35.35 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005109/1.348, allocations: 0.6736 MB / 0.6344 GB, free: 34.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01382/1.362, allocations: 5.652 MB / 0.6399 GB, free: 29.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002905/1.365, allocations: 2.535 MB / 0.6424 GB, free: 27.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001232/1.366, allocations: 170 kB / 0.6425 GB, free: 27.66 MB / 410.7 MB Notification: Performance of SimCode: time 1.353e-06/1.366, allocations: 0 / 0.6425 GB, free: 27.66 MB / 410.7 MB Notification: Performance of Templates: time 0.516/1.882, allocations: 158.8 MB / 0.7976 GB, free: 34.11 MB / 426.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