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.001688/0.001688, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.002087/0.002087, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.592/1.592, allocations: 207.6 MB / 235.3 MB, free: 9.996 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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) [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.00183/0.00183, allocations: 51.92 kB / 347.2 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2726, allocations: 49.16 MB / 396.4 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.009388/0.282, allocations: 8.951 MB / 405.3 MB, free: 2.668 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005822/0.2878, allocations: 2.938 MB / 408.2 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002083/0.2899, allocations: 47.5 kB / 408.3 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00219/0.2921, allocations: 0.6465 MB / 408.9 MB, free: 168 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003553/0.2956, allocations: 0.7757 MB / 409.7 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00132/0.2969, allocations: 335.6 kB / 410 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004597/0.3015, allocations: 2.394 MB / 412.4 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002132/0.3037, allocations: 0.9888 MB / 413.4 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00263/0.3063, allocations: 1.087 MB / 414.5 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003232/0.3095, allocations: 1.379 MB / 415.9 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008599/0.3104, allocations: 279.7 kB / 416.2 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001592/0.312, allocations: 375.4 kB / 416.5 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001742/0.3137, allocations: 0.7995 MB / 417.3 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00293/0.3167, allocations: 1.272 MB / 418.6 MB, free: 10.67 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005488/0.3221, allocations: 3.683 MB / 422.3 MB, free: 7.945 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.717e-06/0.3221, allocations: 4 kB / 422.3 MB, free: 7.941 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3221, allocations: 0 / 422.3 MB, free: 7.941 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.717e-05/0.3222, allocations: 0 / 422.3 MB, free: 7.941 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.006445/0.3287, allocations: 2.563 MB / 424.9 MB, free: 6.172 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.3287, allocations: 13.39 kB / 424.9 MB, free: 6.168 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004716/0.3292, allocations: 266.2 kB / 425.1 MB, free: 5.965 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008117/0.33, allocations: 272.4 kB / 425.4 MB, free: 5.828 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002799/0.3328, allocations: 1.255 MB / 426.6 MB, free: 4.848 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001313/0.333, allocations: 139.9 kB / 426.8 MB, free: 4.711 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003927/0.3333, allocations: 183.9 kB / 427 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00458/0.3379, allocations: 2.413 MB / 429.4 MB, free: 2.082 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.435e-05/0.338, allocations: 3.953 kB / 429.4 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001863/0.3382, allocations: 72 kB / 429.4 MB, free: 2.008 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001094/0.3383, allocations: 87.48 kB / 429.5 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004109/0.3424, allocations: 2.016 MB / 431.6 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0157/0.3581, allocations: 7.264 MB / 438.8 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002039/0.3601, allocations: 0.987 MB / 439.8 MB, free: 7.434 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001871/0.362, allocations: 0.8651 MB / 440.7 MB, free: 6.566 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002169/0.3622, allocations: 40.97 kB / 440.7 MB, free: 6.523 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.18e-05/0.3623, allocations: 43.56 kB / 440.8 MB, free: 6.473 MB / 350.1 MB Notification: Performance of pre-optimization done (n=84): time 2.474e-06/0.3623, allocations: 0 / 440.8 MB, free: 6.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.01066/0.3729, allocations: 4.74 MB / 445.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.271e-05/0.373, allocations: 64.39 kB / 445.6 MB, free: 1.617 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002416/0.3754, allocations: 1.376 MB / 446.9 MB, free: 240 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001676/0.3756, allocations: 45.7 kB / 447 MB, free: 188 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007961/0.3764, allocations: 0.9149 MB / 447.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004414/0.3768, allocations: 368.9 kB / 448.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004161/0.3772, allocations: 218.9 kB / 448.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001801/0.3774, allocations: 349.9 kB / 448.8 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001141/0.3785, allocations: 0.635 MB / 449.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001356/0.3799, allocations: 0.9181 MB / 450.4 MB, free: 12.65 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002607/0.3825, allocations: 1.653 MB / 452 MB, free: 10.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.738e-06/0.3825, allocations: 4 kB / 452 MB, free: 10.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004975/0.3875, allocations: 2.372 MB / 454.4 MB, free: 8.492 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.94e-05/0.3875, allocations: 11.98 kB / 454.4 MB, free: 8.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.17e-05/0.3875, allocations: 8 kB / 454.4 MB, free: 8.473 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001998/0.3895, allocations: 0.7197 MB / 455.1 MB, free: 7.746 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009505/0.3905, allocations: 235.7 kB / 455.4 MB, free: 7.516 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01224/0.4027, allocations: 8.53 MB / 463.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/0.404, allocations: 79.91 kB / 464 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001887/0.4042, allocations: 52.28 kB / 464 MB, free: 14.62 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.00139/0.4056, allocations: 0.6262 MB / 464.6 MB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004648/0.4061, allocations: 155 kB / 464.8 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003844/0.4099, allocations: 1.893 MB / 466.7 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.4099, allocations: 8 kB / 466.7 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/0.41, allocations: 4 kB / 466.7 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/0.41, allocations: 3.984 kB / 466.7 MB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00855/0.4185, allocations: 3.964 MB / 470.7 MB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.637e-06/0.4185, allocations: 4 kB / 470.7 MB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008627/0.4194, allocations: 184 kB / 470.8 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00131/0.4207, allocations: 470.8 kB / 471.3 MB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001154/0.4208, allocations: 27.98 kB / 471.3 MB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00739/0.4282, allocations: 6.379 MB / 477.7 MB, free: 456 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.705e-06/0.4282, allocations: 7.969 kB / 477.7 MB, free: 448 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004968/0.4332, allocations: 2.768 MB / 480.5 MB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001069/0.4342, allocations: 291 kB / 480.8 MB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004541/0.4347, allocations: 27.98 kB / 480.8 MB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/0.4357, allocations: 67.92 kB / 480.9 MB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002223/0.4359, allocations: 80.83 kB / 480.9 MB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.869e-05/0.436, allocations: 31.98 kB / 481 MB, free: 13.13 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001818/0.4378, allocations: 0.962 MB / 481.9 MB, free: 12.17 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4378, allocations: 8 kB / 481.9 MB, free: 12.16 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001932/0.4398, allocations: 431.9 kB / 482.4 MB, free: 11.74 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.005605/0.4454, allocations: 3.4 MB / 485.8 MB, free: 8.277 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004099/0.4495, allocations: 1.942 MB / 487.7 MB, free: 6.309 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/0.4495, allocations: 0 / 487.7 MB, free: 6.309 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002503/0.452, allocations: 1.225 MB / 488.9 MB, free: 5.043 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002599/0.4546, allocations: 388.7 kB / 489.3 MB, free: 4.66 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03361/0.4882, allocations: 16.35 MB / 0.4938 GB, free: 3.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002143/0.4903, allocations: 1.689 MB / 0.4955 GB, free: 2.117 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001156/0.4915, allocations: 320 kB / 0.4958 GB, free: 1.801 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001222/0.4927, allocations: 0.7023 MB / 0.4965 GB, free: 1.098 MB / 414.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4927, allocations: 0 / 0.4965 GB, free: 1.098 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1048/0.5975, allocations: 41.14 MB / 0.5366 GB, free: 7.848 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.4/20, allocations: 8.062 kB / 0.5366 GB, free: 7.84 MB / 462.1 MB " [Timeout remaining time 640] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1) [Timeout 52.5] 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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 24.541425011120737]