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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 75.77 kB / 22.45 MB, free: 2.094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 158.9 kB / 25.75 MB, free: 8.949 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8955/0.8955, allocations: 158.6 MB / 187.5 MB, free: 2.949 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|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=15000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 251.1 MB, free: 7.793 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.995e-05/2.207e-05, allocations: 2.312 kB / 251.1 MB, free: 7.789 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.007631/0.007653, allocations: 8.794 MB / 259.9 MB, free: 14.95 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004501/0.01215, allocations: 2.875 MB / 262.8 MB, free: 12.06 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006321/0.01279, allocations: 47.69 kB / 262.8 MB, free: 12.02 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001206/0.01399, allocations: 0.5863 MB / 263.4 MB, free: 11.43 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001385/0.01538, allocations: 0.8034 MB / 264.2 MB, free: 10.62 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005545/0.01593, allocations: 327.5 kB / 264.6 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001887/0.01782, allocations: 2.478 MB / 267 MB, free: 7.809 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008976/0.01872, allocations: 0.9688 MB / 268 MB, free: 6.789 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00132/0.02004, allocations: 1.594 MB / 269.6 MB, free: 5.191 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001255/0.02129, allocations: 1.267 MB / 270.9 MB, free: 3.922 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002655/0.02156, allocations: 284 kB / 271.1 MB, free: 3.645 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004505/0.02201, allocations: 363.9 kB / 271.5 MB, free: 3.289 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005689/0.02258, allocations: 0.8413 MB / 272.3 MB, free: 2.445 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007259/0.0233, allocations: 0.8809 MB / 273.2 MB, free: 1.562 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001749/0.02505, allocations: 2.029 MB / 275.2 MB, free: 15.53 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.02506, allocations: 4 kB / 275.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.02506, allocations: 4 kB / 275.3 MB, free: 15.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.666e-05/0.02508, allocations: 0 / 275.3 MB, free: 15.52 MB / 266.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.002872/0.02796, allocations: 2.713 MB / 278 MB, free: 12.76 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.028, allocations: 11.98 kB / 278 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006541/0.02865, allocations: 423.4 kB / 278.4 MB, free: 12.33 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/0.02997, allocations: 1.168 MB / 279.6 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.138e-05/0.03006, allocations: 135.9 kB / 279.7 MB, free: 10.99 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001957/0.03025, allocations: 192.3 kB / 279.9 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001852/0.0321, allocations: 1.482 MB / 281.4 MB, free: 9.25 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.912e-05/0.03215, allocations: 19.88 kB / 281.4 MB, free: 9.23 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/0.03227, allocations: 72 kB / 281.4 MB, free: 9.16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.667e-05/0.03234, allocations: 83.5 kB / 281.5 MB, free: 9.078 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001265/0.03361, allocations: 0.6645 MB / 282.2 MB, free: 8.41 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006063/0.03967, allocations: 6.117 MB / 288.3 MB, free: 2.082 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008198/0.04049, allocations: 0.5468 MB / 288.9 MB, free: 1.527 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007884/0.04128, allocations: 0.5091 MB / 289.4 MB, free: 1.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001734/0.04145, allocations: 44.97 kB / 289.4 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/0.04149, allocations: 50.39 kB / 289.5 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 3.537e-06/0.04149, allocations: 0 / 289.5 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.004484/0.04598, allocations: 2.728 MB / 292.2 MB, free: 14.14 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.04602, allocations: 64.41 kB / 292.3 MB, free: 14.06 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/0.04716, allocations: 1.093 MB / 293.3 MB, free: 12.96 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.431e-05/0.04722, allocations: 45.64 kB / 293.4 MB, free: 12.91 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005607/0.04778, allocations: 1.007 MB / 294.4 MB, free: 11.89 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002108/0.04799, allocations: 372.9 kB / 294.8 MB, free: 11.52 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000242/0.04823, allocations: 224.5 kB / 295 MB, free: 11.29 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.04839, allocations: 0.5316 MB / 295.5 MB, free: 10.75 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003284/0.04872, allocations: 198.5 kB / 295.7 MB, free: 10.56 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005382/0.04925, allocations: 0.6042 MB / 296.3 MB, free: 9.785 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009192/0.05017, allocations: 0.8937 MB / 297.2 MB, free: 8.73 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.05018, allocations: 4 kB / 297.2 MB, free: 8.727 MB / 282.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.001855/0.05203, allocations: 1.3 MB / 298.5 MB, free: 7.41 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.05206, allocations: 11.94 kB / 298.5 MB, free: 7.398 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.05207, allocations: 8 kB / 298.5 MB, free: 7.391 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001197/0.05327, allocations: 0.5261 MB / 299.1 MB, free: 6.855 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004707/0.05374, allocations: 227.7 kB / 299.3 MB, free: 6.633 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00479/0.05853, allocations: 5.821 MB / 305.1 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004654/0.05899, allocations: 72.05 kB / 305.2 MB, free: 0.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.34e-05/0.05906, allocations: 55.98 kB / 305.2 MB, free: 456 kB / 282.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.0004222/0.05948, allocations: 220.3 kB / 305.4 MB, free: 224 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002766/0.05976, allocations: 183 kB / 305.6 MB, free: 40 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001783/0.06154, allocations: 0.9587 MB / 306.6 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.06155, allocations: 12 kB / 306.6 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.06155, allocations: 4 kB / 306.6 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.06156, allocations: 7.984 kB / 306.6 MB, free: 15.03 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003139/0.0647, allocations: 2.625 MB / 309.2 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.0647, allocations: 4 kB / 309.2 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004198/0.06512, allocations: 175.8 kB / 309.4 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006201/0.06574, allocations: 290.5 kB / 309.7 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.126e-05/0.0658, allocations: 27.98 kB / 309.7 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003222/0.06902, allocations: 6.248 MB / 316 MB, free: 5.199 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.06902, allocations: 0 / 316 MB, free: 5.199 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001658/0.07068, allocations: 1.382 MB / 317.3 MB, free: 3.758 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003432/0.07102, allocations: 259 kB / 317.6 MB, free: 3.504 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.07113, allocations: 24 kB / 317.6 MB, free: 3.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003645/0.07149, allocations: 67.92 kB / 317.7 MB, free: 3.414 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/0.07165, allocations: 88.77 kB / 317.8 MB, free: 3.328 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.285e-05/0.07169, allocations: 31.98 kB / 317.8 MB, free: 3.297 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006224/0.07231, allocations: 0.654 MB / 318.5 MB, free: 2.637 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07231, allocations: 3.938 kB / 318.5 MB, free: 2.633 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008992/0.07321, allocations: 431.9 kB / 318.9 MB, free: 2.211 MB / 298.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.0002667/0.07348, allocations: 175 kB / 319 MB, free: 2.027 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00152/0.075, allocations: 1.31 MB / 320.4 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.075, allocations: 0 / 320.4 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009415/0.07594, allocations: 1.043 MB / 321.4 MB, free: 15.58 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008807/0.07682, allocations: 347.3 kB / 321.7 MB, free: 15.25 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003819/0.08064, allocations: 3.378 MB / 325.1 MB, free: 11.79 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003947/0.08104, allocations: 0.5114 MB / 325.6 MB, free: 11.25 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004493/0.08149, allocations: 243 kB / 325.9 MB, free: 11 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001858/0.08167, allocations: 88.48 kB / 326 MB, free: 10.92 MB / 314.7 MB Notification: Performance of SimCode: time 8.32e-07/0.08167, allocations: 0 / 326 MB, free: 10.92 MB / 314.7 MB Notification: Performance of Templates: time 0.02574/0.1074, allocations: 23.16 MB / 349.1 MB, free: 3.738 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Initialize/AIMC_Initialize.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.301063278922811]