Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 111.9 kB / 18.4 MB, free: 4.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001661/0.001661, allocations: 190.3 kB / 19.33 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.333/1.333, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 59.91 kB / 329.2 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08556/0.08671, allocations: 46.62 MB / 375.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.1823/0.2691, allocations: 8.871 MB / 384.7 MB, free: 8.617 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005265/0.2744, allocations: 2.917 MB / 387.6 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001037/0.2754, allocations: 35.97 kB / 387.6 MB, free: 7.066 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001409/0.2769, allocations: 0.6061 MB / 388.2 MB, free: 6.746 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001813/0.2787, allocations: 0.7208 MB / 389 MB, free: 6.293 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006681/0.2794, allocations: 328.8 kB / 389.3 MB, free: 6.09 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002356/0.2818, allocations: 2.395 MB / 391.7 MB, free: 4.891 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001869/0.2836, allocations: 1.706 MB / 393.4 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001461/0.2851, allocations: 1.062 MB / 394.5 MB, free: 3.672 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001547/0.2867, allocations: 1.345 MB / 395.8 MB, free: 3.043 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003901/0.2871, allocations: 280 kB / 396.1 MB, free: 3.043 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007258/0.2878, allocations: 371.5 kB / 396.4 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007726/0.2886, allocations: 0.8012 MB / 397.2 MB, free: 2.582 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001153/0.2898, allocations: 1.262 MB / 398.5 MB, free: 1.766 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003604/0.2934, allocations: 3.683 MB / 402.2 MB, free: 136 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2934, allocations: 0 / 402.2 MB, free: 136 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2934, allocations: 0 / 402.2 MB, free: 136 kB / 318.1 MB Notification: Performance of Transformations before backend: time 5.431e-05/0.2934, allocations: 1.375 kB / 402.2 MB, free: 136 kB / 318.1 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.004913/0.2984, allocations: 2.577 MB / 404.8 MB, free: 14.33 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.2984, allocations: 9.188 kB / 404.8 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006788/0.2991, allocations: 255.7 kB / 405 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002389/0.3015, allocations: 1.31 MB / 406.3 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/0.3016, allocations: 132.3 kB / 406.5 MB, free: 13.19 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002752/0.3019, allocations: 186.5 kB / 406.6 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003854/0.3058, allocations: 2.411 MB / 409 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.402e-05/0.3058, allocations: 6.344 kB / 409.1 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001815/0.306, allocations: 77.42 kB / 409.1 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.294e-05/0.3061, allocations: 84.03 kB / 409.2 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003271/0.3094, allocations: 2.02 MB / 411.2 MB, free: 10.6 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01068/0.3201, allocations: 7.367 MB / 418.6 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001754/0.3218, allocations: 1.283 MB / 419.9 MB, free: 3.176 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001586/0.3234, allocations: 0.912 MB / 420.8 MB, free: 2.258 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002057/0.3237, allocations: 114.1 kB / 420.9 MB, free: 2.129 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.3237, allocations: 47.55 kB / 421 MB, free: 2.074 MB / 334.1 MB Notification: Performance of pre-optimization done (n=84): time 2.284e-06/0.3237, allocations: 0 / 421 MB, free: 2.074 MB / 334.1 MB Notification: Performance of matching and sorting (n=100): time 0.008922/0.3326, allocations: 5.002 MB / 426 MB, free: 12.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.3327, allocations: 64.41 kB / 426 MB, free: 12.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001792/0.3345, allocations: 1.372 MB / 427.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.198e-05/0.3346, allocations: 41.7 kB / 427.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006259/0.3352, allocations: 0.9008 MB / 428.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002588/0.3355, allocations: 350.9 kB / 428.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000337/0.3358, allocations: 214.8 kB / 428.9 MB, free: 9.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.336, allocations: 349.9 kB / 429.2 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009414/0.3369, allocations: 0.6356 MB / 429.9 MB, free: 8.996 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001109/0.3381, allocations: 0.9259 MB / 430.8 MB, free: 7.949 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002109/0.3402, allocations: 1.645 MB / 432.4 MB, free: 6.184 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/0.3402, allocations: 8 kB / 432.4 MB, free: 6.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003857/0.3441, allocations: 2.39 MB / 434.8 MB, free: 3.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.3441, allocations: 8 kB / 434.8 MB, free: 3.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.3441, allocations: 8 kB / 434.8 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001711/0.3458, allocations: 0.716 MB / 435.6 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008435/0.3467, allocations: 235.6 kB / 435.8 MB, free: 2.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01034/0.357, allocations: 8.748 MB / 444.5 MB, free: 9.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/0.3582, allocations: 84.02 kB / 444.6 MB, free: 9.688 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-05/0.3583, allocations: 51.92 kB / 444.7 MB, free: 9.637 MB / 366.1 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 (114): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00116/0.3595, allocations: 0.6185 MB / 445.3 MB, free: 9.008 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003264/0.3598, allocations: 146.2 kB / 445.4 MB, free: 8.863 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003225/0.3631, allocations: 1.901 MB / 447.3 MB, free: 6.941 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.3631, allocations: 8 kB / 447.3 MB, free: 6.934 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.3631, allocations: 8 kB / 447.4 MB, free: 6.926 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.3631, allocations: 7.922 kB / 447.4 MB, free: 6.918 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006481/0.3696, allocations: 4.001 MB / 451.4 MB, free: 2.832 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/0.3696, allocations: 8 kB / 451.4 MB, free: 2.824 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008002/0.3704, allocations: 175.8 kB / 451.5 MB, free: 2.652 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00124/0.3717, allocations: 474.8 kB / 452 MB, free: 2.176 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.603e-05/0.3718, allocations: 31.98 kB / 452 MB, free: 2.145 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006223/0.378, allocations: 6.677 MB / 458.7 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.378, allocations: 4.031 kB / 458.7 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004101/0.3821, allocations: 2.771 MB / 461.5 MB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008731/0.383, allocations: 367.2 kB / 461.8 MB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001892/0.3832, allocations: 20 kB / 461.9 MB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007796/0.384, allocations: 75.84 kB / 461.9 MB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001878/0.3842, allocations: 76.83 kB / 462 MB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.608e-05/0.3843, allocations: 31.98 kB / 462 MB, free: 7.633 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001361/0.3856, allocations: 0.9582 MB / 463 MB, free: 6.672 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3857, allocations: 0 / 463 MB, free: 6.672 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001458/0.3871, allocations: 439.9 kB / 463.4 MB, free: 6.242 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (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) * 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 (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003527/0.3875, allocations: 183 kB / 463.6 MB, free: 6.055 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003266/0.3908, allocations: 2.008 MB / 465.6 MB, free: 4.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.3908, allocations: 0 / 465.6 MB, free: 4.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00202/0.3928, allocations: 1.347 MB / 467 MB, free: 2.613 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002233/0.395, allocations: 382.1 kB / 467.3 MB, free: 2.242 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006707/0.4018, allocations: 4.049 MB / 471.4 MB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001311/0.4031, allocations: 1.669 MB / 473.1 MB, free: 12.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000434/0.4035, allocations: 103.4 kB / 473.2 MB, free: 12.33 MB / 398.1 MB Notification: Performance of SimCode: time 1.172e-06/0.4036, allocations: 0 / 473.2 MB, free: 12.33 MB / 398.1 MB Notification: Performance of Templates: time 0.0614/0.465, allocations: 52.77 MB / 0.5136 GB, free: 7.43 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches