Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.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.AIMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001618/0.001618, allocations: 188.4 kB / 16.41 MB, free: 5.723 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.894/1.894, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001125/0.001125, allocations: 88.42 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000516/0.000516, allocations: 8 kB / 327 MB, free: 196 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3239, allocations: 47.56 MB / 374.5 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1631/0.4871, allocations: 102.7 MB / 477.2 MB, free: 10.05 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000346/0.4875, allocations: 95.95 kB / 477.3 MB, free: 9.961 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4376/0.9251, allocations: 41 MB / 0.5062 GB, free: 95.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.716e-06/0.9252, allocations: 0 / 0.5062 GB, free: 95.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002129/0.9254, allocations: 50.78 kB / 0.5062 GB, free: 95.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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.007895/0.9333, allocations: 2.214 MB / 0.5084 GB, free: 94.92 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.9334, allocations: 14 kB / 0.5084 GB, free: 94.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001493/0.9349, allocations: 267.7 kB / 0.5086 GB, free: 94.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004368/0.9393, allocations: 1.422 MB / 0.51 GB, free: 94.38 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001415/0.9395, allocations: 135.3 kB / 0.5102 GB, free: 94.37 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000638/0.9401, allocations: 182.9 kB / 0.5103 GB, free: 94.37 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006503/0.9466, allocations: 2.381 MB / 0.5127 GB, free: 93.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001015/0.9468, allocations: 9.875 kB / 0.5127 GB, free: 93.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003159/0.9471, allocations: 85.97 kB / 0.5127 GB, free: 93.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001089/0.9472, allocations: 87.69 kB / 0.5128 GB, free: 93.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005767/0.953, allocations: 1.925 MB / 0.5147 GB, free: 92.7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01837/0.9714, allocations: 7.499 MB / 0.522 GB, free: 88.78 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003042/0.9745, allocations: 1.31 MB / 0.5233 GB, free: 88.08 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003908/0.975, allocations: 133.4 kB / 0.5234 GB, free: 87.99 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.975, allocations: 47.25 kB / 0.5235 GB, free: 87.94 MB / 378.7 MB Notification: Performance of pre-optimization done (n=87): time 3.557e-06/0.975, allocations: 0 / 0.5235 GB, free: 87.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=103): time 0.01526/0.9903, allocations: 5.07 MB / 0.5284 GB, free: 85.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.9904, allocations: 64.06 kB / 0.5285 GB, free: 85.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002472/0.9929, allocations: 1.19 MB / 0.5297 GB, free: 84.33 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002536/0.9932, allocations: 45.7 kB / 0.5297 GB, free: 84.28 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005558/0.9937, allocations: 0.853 MB / 0.5305 GB, free: 83.45 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004449/0.9942, allocations: 369.6 kB / 0.5309 GB, free: 83.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/0.9943, allocations: 24 kB / 0.5309 GB, free: 83.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.9945, allocations: 354.8 kB / 0.5312 GB, free: 82.71 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001613/0.9961, allocations: 0.6467 MB / 0.5319 GB, free: 82.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001747/0.9979, allocations: 0.9492 MB / 0.5328 GB, free: 81 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001884/0.9998, allocations: 0.7838 MB / 0.5336 GB, free: 80.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.134e-05/0.9998, allocations: 4 kB / 0.5336 GB, free: 80.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.006573/1.006, allocations: 2.377 MB / 0.5359 GB, free: 77.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.096e-05/1.006, allocations: 8 kB / 0.5359 GB, free: 77.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.293e-05/1.007, allocations: 8.25 kB / 0.5359 GB, free: 77.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003245/1.01, allocations: 0.7818 MB / 0.5367 GB, free: 77.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001659/1.011, allocations: 238.9 kB / 0.5369 GB, free: 76.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02134/1.033, allocations: 8.862 MB / 0.5456 GB, free: 67.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002187/1.035, allocations: 87.91 kB / 0.5456 GB, free: 67.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002485/1.035, allocations: 52.19 kB / 0.5457 GB, free: 67.53 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(6,77.8%) 35} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001596/1.037, allocations: 0.6324 MB / 0.5463 GB, free: 66.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004915/1.037, allocations: 142.2 kB / 0.5464 GB, free: 66.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005436/1.043, allocations: 1.952 MB / 0.5484 GB, free: 64.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.598e-05/1.043, allocations: 12 kB / 0.5484 GB, free: 64.76 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/1.043, allocations: 4 kB / 0.5484 GB, free: 64.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.512e-05/1.043, allocations: 7.969 kB / 0.5484 GB, free: 64.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01109/1.054, allocations: 4.045 MB / 0.5523 GB, free: 60.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.455e-05/1.054, allocations: 4.203 kB / 0.5523 GB, free: 60.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001658/1.056, allocations: 195.8 kB / 0.5525 GB, free: 60.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002056/1.058, allocations: 470.8 kB / 0.553 GB, free: 59.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002091/1.058, allocations: 27.98 kB / 0.553 GB, free: 59.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008191/1.066, allocations: 6.314 MB / 0.5592 GB, free: 53.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/1.066, allocations: 3.938 kB / 0.5592 GB, free: 53.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006844/1.073, allocations: 2.951 MB / 0.562 GB, free: 50.22 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001181/1.075, allocations: 363.2 kB / 0.5624 GB, free: 49.85 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003905/1.075, allocations: 31.94 kB / 0.5624 GB, free: 49.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00147/1.076, allocations: 79.92 kB / 0.5625 GB, free: 49.74 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003299/1.077, allocations: 80.81 kB / 0.5626 GB, free: 49.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/1.077, allocations: 31.98 kB / 0.5626 GB, free: 49.62 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00203/1.079, allocations: 0.927 MB / 0.5635 GB, free: 48.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.102e-06/1.079, allocations: 0 / 0.5635 GB, free: 48.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002358/1.081, allocations: 468 kB / 0.564 GB, free: 48.24 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 83 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006655/1.082, allocations: 285.6 kB / 0.5642 GB, free: 47.97 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00537/1.087, allocations: 2.093 MB / 0.5663 GB, free: 45.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/1.088, allocations: 5.875 kB / 0.5663 GB, free: 45.85 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003307/1.091, allocations: 1.371 MB / 0.5676 GB, free: 44.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002813/1.094, allocations: 357.5 kB / 0.568 GB, free: 44.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009965/1.104, allocations: 4.832 MB / 0.5727 GB, free: 39.22 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001709/1.105, allocations: 1.708 MB / 0.5743 GB, free: 37.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007044/1.106, allocations: 107.4 kB / 0.5744 GB, free: 37.38 MB / 378.7 MB Notification: Performance of SimCode: time 1.493e-06/1.106, allocations: 0 / 0.5744 GB, free: 37.38 MB / 378.7 MB Notification: Performance of Templates: time 0.08338/1.19, allocations: 50.69 MB / 0.6239 GB, free: 2.582 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Initialize/AIMC_Initialize.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches