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.0008928/0.0008928, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.00109/0.00109, allocations: 160.4 kB / 25.45 MB, free: 9.352 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.9039/0.9039, allocations: 158.6 MB / 187.2 MB, free: 3.051 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.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: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 299.7 MB, free: 6.922 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.397e-05/2.572e-05, allocations: 2.281 kB / 299.7 MB, free: 6.918 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.00664/0.006666, allocations: 7.875 MB / 307.6 MB, free: 15 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003957/0.01062, allocations: 2.755 MB / 310.3 MB, free: 12.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00055/0.01117, allocations: 51.62 kB / 310.4 MB, free: 12.18 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001042/0.01222, allocations: 0.5937 MB / 311 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001183/0.0134, allocations: 0.7917 MB / 311.8 MB, free: 10.79 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000403/0.0138, allocations: 335.4 kB / 312.1 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001543/0.01534, allocations: 2.481 MB / 314.6 MB, free: 7.969 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000834/0.01618, allocations: 0.9533 MB / 315.5 MB, free: 6.973 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001431/0.01761, allocations: 1.579 MB / 317.1 MB, free: 5.391 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001177/0.01879, allocations: 1.181 MB / 318.3 MB, free: 4.207 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002196/0.019, allocations: 280 kB / 318.6 MB, free: 3.934 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000392/0.0194, allocations: 363.8 kB / 318.9 MB, free: 3.578 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004908/0.01989, allocations: 0.8335 MB / 319.8 MB, free: 2.742 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005798/0.02047, allocations: 0.8692 MB / 320.6 MB, free: 1.871 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00262/0.02309, allocations: 3.728 MB / 324.4 MB, free: 14.13 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.02309, allocations: 0 / 324.4 MB, free: 14.13 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.02309, allocations: 0 / 324.4 MB, free: 14.13 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.036e-05/0.02312, allocations: 0 / 324.4 MB, free: 14.13 MB / 314.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.002886/0.02601, allocations: 2.536 MB / 326.9 MB, free: 11.55 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.02605, allocations: 11.98 kB / 326.9 MB, free: 11.54 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004213/0.02647, allocations: 271.4 kB / 327.2 MB, free: 11.28 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001424/0.0279, allocations: 1.247 MB / 328.4 MB, free: 9.988 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.572e-05/0.02797, allocations: 143.9 kB / 328.6 MB, free: 9.848 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001858/0.02816, allocations: 180.3 kB / 328.7 MB, free: 9.672 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002741/0.0309, allocations: 2.507 MB / 331.2 MB, free: 7.105 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.896e-05/0.03094, allocations: 15.83 kB / 331.3 MB, free: 7.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/0.03105, allocations: 72 kB / 331.3 MB, free: 7.02 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.453e-05/0.03112, allocations: 83.5 kB / 331.4 MB, free: 6.938 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002137/0.03326, allocations: 2.02 MB / 333.4 MB, free: 4.914 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006655/0.03991, allocations: 6.394 MB / 339.8 MB, free: 14.32 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.04099, allocations: 0.9957 MB / 340.8 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009697/0.04196, allocations: 0.8655 MB / 341.7 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001383/0.0421, allocations: 44.95 kB / 341.7 MB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.04212, allocations: 43.56 kB / 341.8 MB, free: 12.36 MB / 330.7 MB Notification: Performance of pre-optimization done (n=84): time 2.695e-06/0.04213, allocations: 0 / 341.8 MB, free: 12.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=100): time 0.005713/0.04784, allocations: 4.715 MB / 346.5 MB, free: 7.602 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.04787, allocations: 60.41 kB / 346.5 MB, free: 7.531 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/0.049, allocations: 1.237 MB / 347.8 MB, free: 6.281 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.565e-05/0.04906, allocations: 41.7 kB / 347.8 MB, free: 6.234 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004348/0.04949, allocations: 0.9296 MB / 348.7 MB, free: 5.293 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001834/0.04968, allocations: 368.9 kB / 349.1 MB, free: 4.93 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002194/0.0499, allocations: 210.9 kB / 349.3 MB, free: 4.719 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.05, allocations: 353.9 kB / 349.7 MB, free: 4.367 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009154/0.05092, allocations: 0.6272 MB / 350.3 MB, free: 3.738 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009335/0.05185, allocations: 0.9259 MB / 351.2 MB, free: 2.691 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001534/0.05338, allocations: 1.653 MB / 352.9 MB, free: 0.918 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.311e-06/0.05339, allocations: 8 kB / 352.9 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.1774/0.2308, allocations: 2.354 MB / 355.2 MB, free: 58.78 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/0.2308, allocations: 9.469 kB / 355.2 MB, free: 58.78 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.016e-05/0.2308, allocations: 12.47 kB / 355.2 MB, free: 58.78 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001436/0.2323, allocations: 0.712 MB / 356 MB, free: 58.74 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006786/0.2329, allocations: 236.9 kB / 356.2 MB, free: 58.74 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007707/0.2406, allocations: 8.396 MB / 364.6 MB, free: 54.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009158/0.2416, allocations: 83.81 kB / 364.7 MB, free: 54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.806e-05/0.2416, allocations: 47.47 kB / 364.7 MB, free: 53.99 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.001069/0.2427, allocations: 0.6268 MB / 365.3 MB, free: 53.64 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002122/0.2429, allocations: 137.3 kB / 365.5 MB, free: 53.64 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00209/0.245, allocations: 1.88 MB / 367.4 MB, free: 52.9 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.245, allocations: 9.406 kB / 367.4 MB, free: 52.9 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/0.245, allocations: 3.781 kB / 367.4 MB, free: 52.9 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.245, allocations: 3.75 kB / 367.4 MB, free: 52.9 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00414/0.2492, allocations: 3.521 MB / 370.9 MB, free: 51.46 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.2492, allocations: 3.438 kB / 370.9 MB, free: 51.46 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004317/0.2496, allocations: 184.6 kB / 371.1 MB, free: 51.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006424/0.2503, allocations: 464 kB / 371.5 MB, free: 51.17 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-05/0.2503, allocations: 23.61 kB / 371.6 MB, free: 51.15 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003165/0.2535, allocations: 6.268 MB / 377.8 MB, free: 45.21 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.2535, allocations: 5.281 kB / 377.8 MB, free: 45.21 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00248/0.256, allocations: 2.758 MB / 380.6 MB, free: 42.46 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000473/0.2564, allocations: 267 kB / 380.8 MB, free: 42.2 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.2565, allocations: 29.2 kB / 380.9 MB, free: 42.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003871/0.2569, allocations: 72.72 kB / 380.9 MB, free: 42.11 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/0.2571, allocations: 80.84 kB / 381 MB, free: 42.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.984e-05/0.2571, allocations: 27.98 kB / 381.1 MB, free: 42 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007799/0.2579, allocations: 0.8454 MB / 381.9 MB, free: 41.14 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.2579, allocations: 4 kB / 381.9 MB, free: 41.14 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001066/0.259, allocations: 436.9 kB / 382.3 MB, free: 40.72 MB / 330.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.000282/0.2593, allocations: 187.5 kB / 382.5 MB, free: 40.54 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001888/0.2611, allocations: 1.94 MB / 384.4 MB, free: 38.58 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.2611, allocations: 0 / 384.4 MB, free: 38.58 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.2621, allocations: 1.229 MB / 385.7 MB, free: 37.32 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009139/0.2631, allocations: 320.3 kB / 386 MB, free: 37.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003987/0.2671, allocations: 3.918 MB / 389.9 MB, free: 33.07 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008258/0.2679, allocations: 1.102 MB / 391 MB, free: 31.93 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002999/0.2682, allocations: 100.5 kB / 391.1 MB, free: 31.83 MB / 330.7 MB Notification: Performance of SimCode: time 1.453e-06/0.2682, allocations: 3.938 kB / 391.1 MB, free: 31.83 MB / 330.7 MB Notification: Performance of Templates: time 0.03956/0.3077, allocations: 52.64 MB / 443.7 MB, free: 11.09 MB / 362.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=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/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","/var/lib/jenkins/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: 8.020156430080533]