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.001377/0.001377, allocations: 120.2 kB / 21.94 MB, free: 8 kB / 14.72 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.001662/0.001662, allocations: 204.7 kB / 25.23 MB, free: 3.551 MB / 14.72 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 1.369/1.369, allocations: 207.6 MB / 236 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 178] 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.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=15000,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") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 51.92 kB / 348.5 MB, free: 9.512 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2463, allocations: 49.17 MB / 397.6 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.008646/0.2549, allocations: 8.942 MB / 406.6 MB, free: 3.184 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005465/0.2604, allocations: 2.94 MB / 409.5 MB, free: 1.043 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001666/0.2621, allocations: 47.75 kB / 409.5 MB, free: 1.023 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002106/0.2642, allocations: 0.6465 MB / 410.2 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002815/0.267, allocations: 0.7782 MB / 411 MB, free: 192 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.2681, allocations: 329 kB / 411.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003759/0.2718, allocations: 2.391 MB / 413.7 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001948/0.2738, allocations: 0.9942 MB / 414.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002164/0.2759, allocations: 1.084 MB / 415.8 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002819/0.2788, allocations: 1.378 MB / 417.1 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000722/0.2795, allocations: 280.3 kB / 417.4 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001417/0.2809, allocations: 374.8 kB / 417.8 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001121/0.282, allocations: 0.8161 MB / 418.6 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001969/0.284, allocations: 1.26 MB / 419.9 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004527/0.2885, allocations: 3.691 MB / 423.5 MB, free: 8.305 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2885, allocations: 0 / 423.5 MB, free: 8.305 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2885, allocations: 1.469 kB / 423.5 MB, free: 8.305 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.459e-05/0.2886, allocations: 0 / 423.5 MB, free: 8.305 MB / 334.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.005978/0.2946, allocations: 2.555 MB / 426.1 MB, free: 6.543 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.2946, allocations: 13.64 kB / 426.1 MB, free: 6.539 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008603/0.2955, allocations: 272.2 kB / 426.4 MB, free: 6.402 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002901/0.2984, allocations: 1.258 MB / 427.6 MB, free: 5.168 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/0.2985, allocations: 135.9 kB / 427.8 MB, free: 5.035 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003478/0.2989, allocations: 184.1 kB / 428 MB, free: 4.855 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004373/0.3033, allocations: 2.41 MB / 430.4 MB, free: 2.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.789e-05/0.3033, allocations: 7.891 kB / 430.4 MB, free: 2.402 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001764/0.3035, allocations: 72 kB / 430.4 MB, free: 2.332 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-05/0.3036, allocations: 87.48 kB / 430.5 MB, free: 2.246 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003599/0.3072, allocations: 2.024 MB / 432.5 MB, free: 224 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01304/0.3202, allocations: 7.264 MB / 439.8 MB, free: 8.742 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001809/0.322, allocations: 0.976 MB / 440.8 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001668/0.3237, allocations: 0.8612 MB / 441.7 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002012/0.3239, allocations: 40.97 kB / 441.7 MB, free: 6.859 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.953e-05/0.3239, allocations: 43.56 kB / 441.7 MB, free: 6.809 MB / 350.1 MB Notification: Performance of pre-optimization done (n=84): time 3.055e-06/0.3239, allocations: 4 kB / 441.7 MB, free: 6.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.009967/0.3339, allocations: 4.742 MB / 446.5 MB, free: 2.023 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.334, allocations: 60.41 kB / 446.5 MB, free: 1.949 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002256/0.3362, allocations: 1.376 MB / 447.9 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001538/0.3364, allocations: 45.7 kB / 448 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007412/0.3371, allocations: 0.9189 MB / 448.9 MB, free: 15.58 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003594/0.3375, allocations: 364.9 kB / 449.2 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003593/0.3378, allocations: 214.9 kB / 449.4 MB, free: 15.01 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.338, allocations: 357.9 kB / 449.8 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/0.3391, allocations: 0.6272 MB / 450.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001242/0.3403, allocations: 0.922 MB / 451.3 MB, free: 12.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002393/0.3427, allocations: 1.649 MB / 453 MB, free: 11.21 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-06/0.3427, allocations: 4 kB / 453 MB, free: 11.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004453/0.3471, allocations: 2.379 MB / 455.4 MB, free: 8.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.106e-05/0.3472, allocations: 12 kB / 455.4 MB, free: 8.809 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/0.3472, allocations: 8 kB / 455.4 MB, free: 8.801 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001828/0.349, allocations: 0.7117 MB / 456.1 MB, free: 8.082 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009385/0.35, allocations: 235.7 kB / 456.3 MB, free: 7.852 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01155/0.3615, allocations: 8.542 MB / 464.9 MB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/0.3628, allocations: 79.91 kB / 465 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/0.3629, allocations: 48 kB / 465 MB, free: 14.95 MB / 382.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.001127/0.3641, allocations: 0.6302 MB / 465.6 MB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003404/0.3644, allocations: 147.1 kB / 465.8 MB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003457/0.3678, allocations: 1.901 MB / 467.7 MB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.3679, allocations: 11.98 kB / 467.7 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.3679, allocations: 4 kB / 467.7 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.3679, allocations: 3.984 kB / 467.7 MB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007227/0.3751, allocations: 3.968 MB / 471.7 MB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.535e-06/0.3751, allocations: 4 kB / 471.7 MB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007995/0.3759, allocations: 179.7 kB / 471.8 MB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001203/0.3771, allocations: 463.1 kB / 472.3 MB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.17e-05/0.3772, allocations: 35.91 kB / 472.3 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006779/0.384, allocations: 6.378 MB / 478.7 MB, free: 0.7656 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/0.384, allocations: 11.91 kB / 478.7 MB, free: 0.7539 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004579/0.3886, allocations: 2.768 MB / 481.5 MB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009538/0.3895, allocations: 291 kB / 481.8 MB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002309/0.3897, allocations: 24 kB / 481.8 MB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007629/0.3905, allocations: 67.91 kB / 481.9 MB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002147/0.3907, allocations: 84.84 kB / 481.9 MB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.588e-05/0.3908, allocations: 31.92 kB / 482 MB, free: 13.45 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001467/0.3923, allocations: 0.9543 MB / 482.9 MB, free: 12.49 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3923, allocations: 4 kB / 482.9 MB, free: 12.49 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001472/0.3937, allocations: 431.9 kB / 483.4 MB, free: 12.07 MB / 398.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.0003697/0.3941, allocations: 182.9 kB / 483.5 MB, free: 11.88 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00339/0.3975, allocations: 1.942 MB / 485.5 MB, free: 9.914 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.3975, allocations: 4.188 kB / 485.5 MB, free: 9.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002053/0.3995, allocations: 1.229 MB / 486.7 MB, free: 8.637 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001756/0.4013, allocations: 384.6 kB / 487.1 MB, free: 8.258 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006856/0.4082, allocations: 4.122 MB / 491.2 MB, free: 4.074 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001462/0.4096, allocations: 1.673 MB / 492.9 MB, free: 2.367 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004485/0.4101, allocations: 103.4 kB / 493 MB, free: 2.266 MB / 398.1 MB Notification: Performance of SimCode: time 1.482e-06/0.4101, allocations: 0 / 493 MB, free: 2.266 MB / 398.1 MB Notification: Performance of Templates: time 0.06472/0.4748, allocations: 52.95 MB / 0.5331 GB, free: 13.18 MB / 462.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.616075329016894]