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.001779/0.001779, allocations: 112.8 kB / 21.93 MB, free: 5.223 MB / 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.002202/0.002202, allocations: 213.5 kB / 25.22 MB, free: 3.027 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.514/1.514, allocations: 207.7 MB / 236.1 MB, free: 9.82 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.001987/0.001987, allocations: 66.56 kB / 348.5 MB, free: 9.383 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2498, allocations: 49.15 MB / 397.6 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.008525/0.2583, allocations: 7.861 MB / 405.5 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005335/0.2636, allocations: 2.758 MB / 408.2 MB, free: 2.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001348/0.265, allocations: 46.97 kB / 408.3 MB, free: 2.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001672/0.2667, allocations: 0.593 MB / 408.9 MB, free: 1.957 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002339/0.269, allocations: 0.7758 MB / 409.6 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007442/0.2697, allocations: 320.7 kB / 410 MB, free: 1.273 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002798/0.2725, allocations: 2.393 MB / 412.4 MB, free: 76 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001528/0.2741, allocations: 0.9528 MB / 413.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0018/0.2759, allocations: 1.091 MB / 414.4 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002219/0.2781, allocations: 1.3 MB / 415.7 MB, free: 14 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004848/0.2786, allocations: 279.2 kB / 416 MB, free: 14 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009482/0.2795, allocations: 371.2 kB / 416.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009403/0.2805, allocations: 0.8077 MB / 417.1 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00154/0.282, allocations: 1.016 MB / 418.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004744/0.2867, allocations: 3.718 MB / 421.9 MB, free: 9.957 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.2868, allocations: 1.281 kB / 421.9 MB, free: 9.957 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.2868, allocations: 0 / 421.9 MB, free: 9.957 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001053/0.2869, allocations: 0 / 421.9 MB, free: 9.957 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.006122/0.293, allocations: 2.567 MB / 424.4 MB, free: 8.184 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.293, allocations: 14.23 kB / 424.5 MB, free: 8.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007991/0.2938, allocations: 278.5 kB / 424.7 MB, free: 7.949 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0028/0.2966, allocations: 1.24 MB / 426 MB, free: 6.668 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/0.2967, allocations: 132 kB / 426.1 MB, free: 6.539 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003229/0.2971, allocations: 188.1 kB / 426.3 MB, free: 6.355 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004385/0.3015, allocations: 2.506 MB / 428.8 MB, free: 3.789 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.942e-05/0.3015, allocations: 15.95 kB / 428.8 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001825/0.3017, allocations: 75.98 kB / 428.9 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001049/0.3018, allocations: 87.48 kB / 429 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003733/0.3055, allocations: 2.012 MB / 431 MB, free: 1.598 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01269/0.3182, allocations: 6.398 MB / 437.4 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00186/0.3201, allocations: 0.988 MB / 438.4 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001768/0.3218, allocations: 0.8573 MB / 439.2 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001943/0.322, allocations: 40.97 kB / 439.3 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/0.3221, allocations: 43.56 kB / 439.3 MB, free: 9.047 MB / 350.1 MB Notification: Performance of pre-optimization done (n=84): time 2.955e-06/0.3221, allocations: 0 / 439.3 MB, free: 9.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.009995/0.3321, allocations: 4.723 MB / 444 MB, free: 4.289 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.913e-05/0.3321, allocations: 60.41 kB / 444.1 MB, free: 4.215 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002046/0.3342, allocations: 1.237 MB / 445.3 MB, free: 2.965 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001437/0.3343, allocations: 45.7 kB / 445.4 MB, free: 2.914 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007907/0.3351, allocations: 0.9219 MB / 446.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003706/0.3355, allocations: 368.8 kB / 446.6 MB, free: 1.617 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003815/0.3359, allocations: 218.9 kB / 446.9 MB, free: 1.398 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.3361, allocations: 357.9 kB / 447.2 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001142/0.3372, allocations: 0.631 MB / 447.8 MB, free: 420 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001353/0.3386, allocations: 0.926 MB / 448.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002514/0.3411, allocations: 1.641 MB / 450.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.3411, allocations: 0 / 450.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004521/0.3456, allocations: 2.368 MB / 452.8 MB, free: 11.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.3456, allocations: 8 kB / 452.8 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/0.3456, allocations: 8 kB / 452.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001913/0.3476, allocations: 0.7159 MB / 453.5 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009432/0.3485, allocations: 243.5 kB / 453.7 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01183/0.3603, allocations: 8.403 MB / 462.1 MB, free: 1.633 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/0.3616, allocations: 87.92 kB / 462.2 MB, free: 1.547 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.3617, allocations: 44 kB / 462.3 MB, free: 1.504 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.001139/0.3628, allocations: 0.6301 MB / 462.9 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002707/0.3631, allocations: 135.2 kB / 463 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003459/0.3665, allocations: 1.877 MB / 464.9 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/0.3665, allocations: 11.94 kB / 464.9 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.3665, allocations: 4 kB / 464.9 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.3666, allocations: 3.984 kB / 464.9 MB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006821/0.3734, allocations: 3.529 MB / 468.5 MB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.3734, allocations: 3.938 kB / 468.5 MB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008193/0.3742, allocations: 183.7 kB / 468.6 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001277/0.3755, allocations: 471.1 kB / 469.1 MB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.704e-05/0.3756, allocations: 31.92 kB / 469.1 MB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007149/0.3827, allocations: 6.263 MB / 475.4 MB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.3827, allocations: 4.031 kB / 475.4 MB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004736/0.3875, allocations: 2.76 MB / 478.2 MB, free: 1.145 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001007/0.3885, allocations: 275 kB / 478.4 MB, free: 0.875 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00021/0.3887, allocations: 23.98 kB / 478.5 MB, free: 0.8516 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007646/0.3894, allocations: 71.92 kB / 478.5 MB, free: 0.7812 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002194/0.3897, allocations: 84.72 kB / 478.6 MB, free: 0.6992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.019e-05/0.3897, allocations: 31.98 kB / 478.6 MB, free: 0.668 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00134/0.3911, allocations: 0.8454 MB / 479.5 MB, free: 15.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3911, allocations: 0 / 479.5 MB, free: 15.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001584/0.3926, allocations: 432 kB / 479.9 MB, free: 15.39 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.0003772/0.393, allocations: 171 kB / 480.1 MB, free: 15.22 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003596/0.3966, allocations: 1.949 MB / 482 MB, free: 13.24 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.3966, allocations: 0 / 482 MB, free: 13.24 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002135/0.3988, allocations: 1.222 MB / 483.2 MB, free: 11.98 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001713/0.4005, allocations: 328.5 kB / 483.6 MB, free: 11.66 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007418/0.4079, allocations: 4.126 MB / 487.7 MB, free: 7.465 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001357/0.4093, allocations: 1.094 MB / 488.8 MB, free: 6.328 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004565/0.4097, allocations: 99.41 kB / 488.9 MB, free: 6.23 MB / 398.1 MB Notification: Performance of SimCode: time 1.173e-06/0.4097, allocations: 3.938 kB / 488.9 MB, free: 6.227 MB / 398.1 MB Notification: Performance of Templates: time 0.06668/0.4764, allocations: 52.57 MB / 0.5288 GB, free: 1.523 MB / 446.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.407420972827822]