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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.001081/0.001081, allocations: 183 kB / 17.91 MB, free: 3.855 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.173/1.173, allocations: 205.1 MB / 223.7 MB, free: 8.504 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.0009116/0.0009118, allocations: 110.5 kB / 271.2 MB, free: 8.457 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001091/0.001091, allocations: 35.95 kB / 327.2 MB, free: 340 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2225, allocations: 46.62 MB / 373.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.009357/0.2319, allocations: 8.811 MB / 382.6 MB, free: 38.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00506/0.2369, allocations: 2.887 MB / 385.5 MB, free: 36.51 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000984/0.238, allocations: 35.81 kB / 385.6 MB, free: 36.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001339/0.2393, allocations: 0.5325 MB / 386.1 MB, free: 36.11 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001637/0.241, allocations: 0.6517 MB / 386.7 MB, free: 35.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000516/0.2416, allocations: 296.6 kB / 387 MB, free: 35.32 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002364/0.2439, allocations: 2.792 MB / 389.8 MB, free: 33.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001185/0.2451, allocations: 1.421 MB / 391.2 MB, free: 32.02 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009731/0.2461, allocations: 0.9261 MB / 392.2 MB, free: 31.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001111/0.2472, allocations: 1.292 MB / 393.5 MB, free: 29.79 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002166/0.2475, allocations: 172 kB / 393.6 MB, free: 29.62 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004849/0.248, allocations: 271.8 kB / 393.9 MB, free: 29.36 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004285/0.2484, allocations: 0.6892 MB / 394.6 MB, free: 28.67 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007318/0.2491, allocations: 1.147 MB / 395.7 MB, free: 27.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00181/0.251, allocations: 3.555 MB / 399.3 MB, free: 23.95 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.251, allocations: 7.984 kB / 399.3 MB, free: 23.94 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.251, allocations: 0 / 399.3 MB, free: 23.94 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.808e-05/0.251, allocations: 0 / 399.3 MB, free: 23.94 MB / 298.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.004208/0.2552, allocations: 2.567 MB / 401.9 MB, free: 21.32 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.2553, allocations: 20.02 kB / 401.9 MB, free: 21.3 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005189/0.2558, allocations: 254.1 kB / 402.1 MB, free: 21.05 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001728/0.2576, allocations: 1.303 MB / 403.4 MB, free: 19.69 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.906e-05/0.2576, allocations: 139.9 kB / 403.6 MB, free: 19.55 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001994/0.2578, allocations: 184 kB / 403.8 MB, free: 19.37 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002715/0.2606, allocations: 2.41 MB / 406.2 MB, free: 16.93 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.02e-05/0.2606, allocations: 3.984 kB / 406.2 MB, free: 16.92 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001312/0.2608, allocations: 72 kB / 406.2 MB, free: 16.85 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.581e-05/0.2608, allocations: 83.5 kB / 406.3 MB, free: 16.77 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00241/0.2632, allocations: 2.02 MB / 408.3 MB, free: 14.75 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008205/0.2715, allocations: 7.456 MB / 415.8 MB, free: 7.082 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/0.2729, allocations: 1.28 MB / 417.1 MB, free: 5.742 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001278/0.2742, allocations: 0.8964 MB / 418 MB, free: 4.84 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001923/0.2744, allocations: 126.1 kB / 418.1 MB, free: 4.699 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.2744, allocations: 39.56 kB / 418.1 MB, free: 4.648 MB / 298.7 MB Notification: Performance of pre-optimization done (n=84): time 3.477e-06/0.2744, allocations: 0 / 418.1 MB, free: 4.648 MB / 298.7 MB Notification: Performance of matching and sorting (n=100): time 0.007472/0.2819, allocations: 5.015 MB / 423.1 MB, free: 15.52 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.282, allocations: 64.41 kB / 423.2 MB, free: 15.44 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001725/0.2837, allocations: 1.369 MB / 424.6 MB, free: 14.07 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.436e-05/0.2838, allocations: 45.7 kB / 424.6 MB, free: 14.02 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005882/0.2844, allocations: 0.9007 MB / 425.5 MB, free: 13.11 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002465/0.2846, allocations: 347 kB / 425.9 MB, free: 12.76 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003858/0.285, allocations: 218.8 kB / 426.1 MB, free: 12.54 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.2851, allocations: 353.9 kB / 426.4 MB, free: 12.19 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008968/0.286, allocations: 0.6272 MB / 427 MB, free: 11.56 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001071/0.2871, allocations: 0.9259 MB / 428 MB, free: 10.51 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002165/0.2893, allocations: 1.649 MB / 429.6 MB, free: 8.746 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.2893, allocations: 4 kB / 429.6 MB, free: 8.742 MB / 314.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003828/0.2932, allocations: 2.386 MB / 432 MB, free: 6.34 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.2932, allocations: 8 kB / 432 MB, free: 6.332 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.2932, allocations: 8 kB / 432 MB, free: 6.324 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001695/0.2949, allocations: 0.7043 MB / 432.7 MB, free: 5.613 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007896/0.2957, allocations: 243.6 kB / 433 MB, free: 5.375 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009282/0.305, allocations: 8.029 MB / 441 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.3061, allocations: 79.83 kB / 441.1 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.493e-05/0.3062, allocations: 47.98 kB / 441.1 MB, free: 12.95 MB / 330.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 (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.001067/0.3073, allocations: 0.634 MB / 441.8 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000241/0.3075, allocations: 142.2 kB / 441.9 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002981/0.3105, allocations: 1.893 MB / 443.8 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.3105, allocations: 12 kB / 443.8 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.3106, allocations: 7.938 kB / 443.8 MB, free: 10.22 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.3106, allocations: 3.984 kB / 443.8 MB, free: 10.22 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005848/0.3164, allocations: 4.021 MB / 447.8 MB, free: 6.109 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.3165, allocations: 8.219 kB / 447.8 MB, free: 6.102 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007329/0.3172, allocations: 179.8 kB / 448 MB, free: 5.926 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00111/0.3183, allocations: 469.2 kB / 448.5 MB, free: 5.457 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.052e-05/0.3184, allocations: 23.98 kB / 448.5 MB, free: 5.434 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005404/0.3238, allocations: 6.152 MB / 454.7 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3238, allocations: 0 / 454.7 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02881/0.3526, allocations: 21.25 MB / 475.9 MB, free: 8.992 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009076/0.3536, allocations: 359.2 kB / 476.2 MB, free: 8.621 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003295/0.3539, allocations: 20 kB / 476.3 MB, free: 8.602 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008726/0.3548, allocations: 75.91 kB / 476.3 MB, free: 8.527 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002619/0.3551, allocations: 72.83 kB / 476.4 MB, free: 8.453 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.671e-05/0.3552, allocations: 35.98 kB / 476.4 MB, free: 8.418 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001537/0.3567, allocations: 0.9543 MB / 477.4 MB, free: 7.461 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3567, allocations: 4 kB / 477.4 MB, free: 7.457 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001911/0.3587, allocations: 0.5898 MB / 478 MB, free: 6.867 MB / 362.7 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.0003767/0.359, allocations: 187 kB / 478.2 MB, free: 6.676 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003424/0.3625, allocations: 1.996 MB / 480.2 MB, free: 4.652 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.3625, allocations: 0 / 480.2 MB, free: 4.652 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002026/0.3645, allocations: 1.352 MB / 481.5 MB, free: 3.246 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001831/0.3664, allocations: 353.3 kB / 481.9 MB, free: 2.906 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00943/0.3758, allocations: 6.131 MB / 488 MB, free: 12.64 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001724/0.3776, allocations: 1.724 MB / 489.7 MB, free: 10.88 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00112/0.3787, allocations: 324 kB / 490 MB, free: 10.56 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003778/0.3791, allocations: 103.4 kB / 490.1 MB, free: 10.46 MB / 378.7 MB Notification: Performance of SimCode: time 4.51e-07/0.3791, allocations: 0 / 490.1 MB, free: 10.46 MB / 378.7 MB Notification: Performance of Templates: time 0.1939/0.573, allocations: 28.27 MB / 0.5063 GB, free: 120.3 MB / 394.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/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_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches