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_withLosses.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_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001442/0.001442, allocations: 179.4 kB / 8.364 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 1.948/1.948, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.00108/0.00108, allocations: 87.69 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.091e-05/2.102e-05, allocations: 0 / 314.8 MB, free: 9.148 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3564, allocations: 47.57 MB / 362.3 MB, free: 45.85 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1962/0.5526, allocations: 108.4 MB / 470.7 MB, free: 9.898 MB / 363.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003396/0.553, allocations: 86.73 kB / 470.8 MB, free: 9.816 MB / 363.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.5012/1.054, allocations: 51.4 MB / 0.51 GB, free: 99.83 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.424e-06/1.054, allocations: 1.062 kB / 0.51 GB, free: 99.83 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0003202/1.055, allocations: 63.52 kB / 0.51 GB, free: 99.82 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.009241/1.064, allocations: 2.422 MB / 0.5124 GB, free: 98.77 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/1.064, allocations: 9.938 kB / 0.5124 GB, free: 98.77 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002157/1.066, allocations: 331.3 kB / 0.5127 GB, free: 98.62 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006878/1.073, allocations: 1.759 MB / 0.5144 GB, free: 98.15 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001727/1.073, allocations: 72.77 kB / 0.5145 GB, free: 98.15 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009109/1.074, allocations: 120.7 kB / 0.5146 GB, free: 98.15 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006892/1.081, allocations: 1.945 MB / 0.5165 GB, free: 98.14 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007342/1.089, allocations: 2.308 MB / 0.5188 GB, free: 97.81 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.343e-05/1.089, allocations: 5.031 kB / 0.5188 GB, free: 97.81 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002759/1.089, allocations: 3.875 kB / 0.5188 GB, free: 97.81 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001271/1.089, allocations: 93.11 kB / 0.5189 GB, free: 97.8 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02053/1.11, allocations: 7.939 MB / 0.5266 GB, free: 95.25 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003766/1.113, allocations: 1.535 MB / 0.5281 GB, free: 94.45 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00181/1.115, allocations: 0.8694 MB / 0.529 GB, free: 94.12 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004155/1.116, allocations: 140.5 kB / 0.5291 GB, free: 94.03 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/1.116, allocations: 49.09 kB / 0.5291 GB, free: 93.98 MB / 395.1 MB Notification: Performance of pre-optimization done (n=119): time 4.479e-06/1.116, allocations: 1.688 kB / 0.5291 GB, free: 93.98 MB / 395.1 MB Notification: Performance of matching and sorting (n=135): time 0.01397/1.13, allocations: 4.802 MB / 0.5338 GB, free: 91.96 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/1.13, allocations: 63.81 kB / 0.5339 GB, free: 91.9 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003472/1.133, allocations: 1.653 MB / 0.5355 GB, free: 91.3 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003341/1.134, allocations: 25.7 kB / 0.5355 GB, free: 91.27 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007157/1.134, allocations: 1.024 MB / 0.5365 GB, free: 90.41 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005141/1.135, allocations: 446 kB / 0.537 GB, free: 90.07 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/1.135, allocations: 4 kB / 0.537 GB, free: 90.06 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/1.135, allocations: 367.2 kB / 0.5373 GB, free: 89.73 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001444/1.137, allocations: 0.6851 MB / 0.538 GB, free: 89.46 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001548/1.138, allocations: 0.9207 MB / 0.5389 GB, free: 88.93 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001837/1.14, allocations: 0.8199 MB / 0.5397 GB, free: 88.61 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.767e-06/1.14, allocations: 0 / 0.5397 GB, free: 88.61 MB / 395.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.006461/1.147, allocations: 2.453 MB / 0.5421 GB, free: 87.8 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.194e-05/1.147, allocations: 5.438 kB / 0.5421 GB, free: 87.8 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-05/1.147, allocations: 7.5 kB / 0.5421 GB, free: 87.8 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003447/1.15, allocations: 0.8407 MB / 0.5429 GB, free: 87.57 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002159/1.152, allocations: 272.9 kB / 0.5432 GB, free: 87.55 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01623/1.169, allocations: 8.879 MB / 0.5518 GB, free: 82.43 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002318/1.171, allocations: 81.41 kB / 0.5519 GB, free: 82.42 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002285/1.171, allocations: 52.8 kB / 0.552 GB, free: 82.41 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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%) 6,(6,88.9%) 39} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003489/1.172, allocations: 132.2 kB / 0.5521 GB, free: 82.28 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005511/1.172, allocations: 184.4 kB / 0.5523 GB, free: 82.19 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006008/1.178, allocations: 2.353 MB / 0.5546 GB, free: 81.3 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.958e-05/1.178, allocations: 11.22 kB / 0.5546 GB, free: 81.3 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/1.178, allocations: 11.22 kB / 0.5546 GB, free: 81.3 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.203e-05/1.178, allocations: 6.891 kB / 0.5546 GB, free: 81.3 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0123/1.191, allocations: 4.607 MB / 0.5591 GB, free: 78.04 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.597e-05/1.191, allocations: 7.75 kB / 0.5591 GB, free: 78.03 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001937/1.193, allocations: 220.4 kB / 0.5593 GB, free: 77.86 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003075/1.196, allocations: 0.6925 MB / 0.56 GB, free: 77.31 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002572/1.196, allocations: 15.8 kB / 0.56 GB, free: 77.3 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01207/1.208, allocations: 8.137 MB / 0.5679 GB, free: 69.57 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/1.208, allocations: 0 / 0.5679 GB, free: 69.57 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007993/1.216, allocations: 3.429 MB / 0.5713 GB, free: 66.48 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00174/1.218, allocations: 455.7 kB / 0.5717 GB, free: 66.07 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005443/1.219, allocations: 15.84 kB / 0.5717 GB, free: 66.05 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002124/1.221, allocations: 81.77 kB / 0.5718 GB, free: 66 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000501/1.221, allocations: 104.6 kB / 0.5719 GB, free: 65.94 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001547/1.221, allocations: 39.27 kB / 0.572 GB, free: 65.91 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.00257/1.224, allocations: 1.264 MB / 0.5732 GB, free: 64.79 MB / 395.1 MB Notification: Performance of sort global known variables: time 7.72e-07/1.224, allocations: 0 / 0.5732 GB, free: 64.79 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.003241/1.227, allocations: 0.515 MB / 0.5737 GB, free: 64.28 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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%) 6,(2,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001632/1.229, allocations: 0.5427 MB / 0.5742 GB, free: 63.89 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.005634/1.235, allocations: 2.287 MB / 0.5765 GB, free: 61.79 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/1.235, allocations: 0 / 0.5765 GB, free: 61.79 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003779/1.239, allocations: 1.616 MB / 0.578 GB, free: 60.27 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003085/1.242, allocations: 327.5 kB / 0.5784 GB, free: 60 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/1.252, allocations: 4.236 MB / 0.5825 GB, free: 56.23 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002354/1.255, allocations: 1.986 MB / 0.5844 GB, free: 54.61 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009188/1.256, allocations: 135.4 kB / 0.5846 GB, free: 54.47 MB / 395.1 MB Notification: Performance of SimCode: time 1.403e-06/1.256, allocations: 0 / 0.5846 GB, free: 54.47 MB / 395.1 MB Notification: Performance of Templates: time 0.1024/1.358, allocations: 60.42 MB / 0.6436 GB, free: 10.11 MB / 411.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses_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_withLosses/AIMC_withLosses.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches