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_Inverter.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_Inverter,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|vfController.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,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|vfController.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001888/0.001888, allocations: 180.9 kB / 17.41 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.05/3.05, allocations: 205.4 MB / 223.6 MB, free: 9.027 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.001521/0.001521, allocations: 97.81 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006056/0.0006061, allocations: 8 kB / 328.2 MB, free: 15.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4424/0.443, allocations: 47.58 MB / 375.7 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2164/0.6596, allocations: 102.4 MB / 478.2 MB, free: 10.16 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004458/0.6601, allocations: 91.95 kB / 478.2 MB, free: 10.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5378/1.198, allocations: 40.11 MB / 0.5062 GB, free: 96.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.633e-06/1.198, allocations: 0 / 0.5062 GB, free: 96.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003325/1.198, allocations: 50.88 kB / 0.5063 GB, free: 96.15 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.009293/1.208, allocations: 2.114 MB / 0.5083 GB, free: 95.13 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.081e-05/1.208, allocations: 7.344 kB / 0.5083 GB, free: 95.13 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002592/1.21, allocations: 257.8 kB / 0.5086 GB, free: 95.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007483/1.218, allocations: 1.396 MB / 0.5099 GB, free: 94.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003197/1.218, allocations: 138.2 kB / 0.5101 GB, free: 94.58 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001442/1.22, allocations: 177.4 kB / 0.5102 GB, free: 94.58 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01167/1.232, allocations: 2.368 MB / 0.5126 GB, free: 93.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002061/1.232, allocations: 7.781 kB / 0.5126 GB, free: 93.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009199/1.233, allocations: 74.28 kB / 0.5126 GB, free: 93.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000194/1.233, allocations: 91.62 kB / 0.5127 GB, free: 93.81 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007302/1.24, allocations: 1.877 MB / 0.5146 GB, free: 93.11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02204/1.262, allocations: 7.183 MB / 0.5216 GB, free: 89.36 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003153/1.266, allocations: 1.326 MB / 0.5229 GB, free: 88.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001851/1.268, allocations: 0.7363 MB / 0.5236 GB, free: 88.4 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004369/1.268, allocations: 129.8 kB / 0.5237 GB, free: 88.31 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.911e-05/1.268, allocations: 43.53 kB / 0.5237 GB, free: 88.26 MB / 378.7 MB Notification: Performance of pre-optimization done (n=90): time 8.306e-06/1.268, allocations: 4 kB / 0.5238 GB, free: 88.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=113): time 0.02168/1.29, allocations: 7.144 MB / 0.5307 GB, free: 84.11 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/1.29, allocations: 64.41 kB / 0.5308 GB, free: 84.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002257/1.292, allocations: 1.179 MB / 0.5319 GB, free: 82.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001417/1.292, allocations: 53.7 kB / 0.532 GB, free: 82.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005176/1.293, allocations: 0.8522 MB / 0.5328 GB, free: 81.92 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003489/1.293, allocations: 399.5 kB / 0.5332 GB, free: 81.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.887e-05/1.293, allocations: 27.94 kB / 0.5332 GB, free: 81.51 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001376/1.293, allocations: 353.9 kB / 0.5336 GB, free: 81.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001473/1.295, allocations: 0.6818 MB / 0.5342 GB, free: 80.47 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00179/1.297, allocations: 0.9823 MB / 0.5352 GB, free: 79.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003519/1.3, allocations: 1.764 MB / 0.5369 GB, free: 77.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.63e-05/1.3, allocations: 4 kB / 0.5369 GB, free: 77.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004647/1.305, allocations: 2.42 MB / 0.5393 GB, free: 75.03 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.742e-05/1.305, allocations: 8 kB / 0.5393 GB, free: 75.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.53e-05/1.305, allocations: 12 kB / 0.5393 GB, free: 75.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001654/1.307, allocations: 0.6295 MB / 0.5399 GB, free: 74.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/1.308, allocations: 279.6 kB / 0.5402 GB, free: 74.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007317/1.315, allocations: 6.328 MB / 0.5464 GB, free: 67.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/1.317, allocations: 87.97 kB / 0.5464 GB, free: 67.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002556/1.317, allocations: 55.98 kB / 0.5465 GB, free: 67.38 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (133): * Single equations (assignments): 129 * 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: 2 * 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: 2 {(5,76.0%) 23,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002014/1.319, allocations: 0.6066 MB / 0.5471 GB, free: 66.76 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005302/1.32, allocations: 138.3 kB / 0.5472 GB, free: 66.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004476/1.324, allocations: 2.255 MB / 0.5494 GB, free: 64.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/1.324, allocations: 12 kB / 0.5494 GB, free: 64.33 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.451e-05/1.324, allocations: 8 kB / 0.5494 GB, free: 64.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.515e-05/1.324, allocations: 11.97 kB / 0.5495 GB, free: 64.31 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009414/1.334, allocations: 4.44 MB / 0.5538 GB, free: 59.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/1.334, allocations: 4 kB / 0.5538 GB, free: 59.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007315/1.334, allocations: 171.7 kB / 0.554 GB, free: 59.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001855/1.336, allocations: 0.7171 MB / 0.5547 GB, free: 58.9 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001183/1.336, allocations: 31.98 kB / 0.5547 GB, free: 58.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008448/1.345, allocations: 8.043 MB / 0.5625 GB, free: 50.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.957e-06/1.345, allocations: 7.938 kB / 0.5626 GB, free: 50.42 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005697/1.351, allocations: 3.229 MB / 0.5657 GB, free: 47.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0011/1.352, allocations: 355.3 kB / 0.566 GB, free: 46.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005546/1.352, allocations: 39.92 kB / 0.5661 GB, free: 46.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/1.354, allocations: 83.91 kB / 0.5662 GB, free: 46.65 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003767/1.354, allocations: 96.86 kB / 0.5663 GB, free: 46.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001193/1.354, allocations: 32 kB / 0.5663 GB, free: 46.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001759/1.356, allocations: 0.8069 MB / 0.5671 GB, free: 45.71 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.356, allocations: 0 / 0.5671 GB, free: 45.71 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002386/1.358, allocations: 479.9 kB / 0.5675 GB, free: 45.24 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,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 (84): * Single equations (assignments): 80 * 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 {(5,76.0%) 23,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007148/1.359, allocations: 306 kB / 0.5678 GB, free: 44.97 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004188/1.363, allocations: 2.308 MB / 0.5701 GB, free: 42.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/1.363, allocations: 0 / 0.5701 GB, free: 42.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002642/1.366, allocations: 1.554 MB / 0.5716 GB, free: 40.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003642/1.37, allocations: 366.4 kB / 0.5719 GB, free: 40.63 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007971/1.378, allocations: 4.794 MB / 0.5766 GB, free: 35.79 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001227/1.379, allocations: 1.634 MB / 0.5782 GB, free: 34.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004849/1.379, allocations: 103.4 kB / 0.5783 GB, free: 34.02 MB / 378.7 MB Notification: Performance of SimCode: time 1.022e-06/1.379, allocations: 0 / 0.5783 GB, free: 34.02 MB / 378.7 MB Notification: Performance of Templates: time 0.08985/1.469, allocations: 60.33 MB / 0.6372 GB, free: 5.582 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_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_Inverter/AIMC_Inverter.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches