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.001746/0.001746, allocations: 96.31 kB / 21.73 MB, free: 2.672 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.002033/0.002033, allocations: 165.9 kB / 25.02 MB, free: 9.434 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 1.423/1.423, allocations: 158.6 MB / 186.8 MB, free: 2.891 MB / 170.7 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: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 250.4 MB, free: 3.938 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.822e-05/3.013e-05, allocations: 2.312 kB / 250.4 MB, free: 3.934 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.01196/0.01199, allocations: 7.882 MB / 258.3 MB, free: 12.01 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006221/0.01821, allocations: 2.758 MB / 261 MB, free: 9.238 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001007/0.01922, allocations: 47.69 kB / 261.1 MB, free: 9.191 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001754/0.02097, allocations: 0.6015 MB / 261.7 MB, free: 8.586 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002637/0.02361, allocations: 0.7956 MB / 262.5 MB, free: 7.785 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008999/0.02451, allocations: 323.5 kB / 262.8 MB, free: 7.469 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003741/0.02825, allocations: 2.481 MB / 265.3 MB, free: 4.977 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001636/0.02989, allocations: 0.9611 MB / 266.2 MB, free: 3.965 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002561/0.03245, allocations: 1.575 MB / 267.8 MB, free: 2.387 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002121/0.03457, allocations: 1.173 MB / 269 MB, free: 1.211 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000539/0.03511, allocations: 280 kB / 269.2 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008617/0.03597, allocations: 371.8 kB / 269.6 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009908/0.03696, allocations: 0.8374 MB / 270.4 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001428/0.03839, allocations: 0.8614 MB / 271.3 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005243/0.04363, allocations: 3.735 MB / 275 MB, free: 11.12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.04364, allocations: 0 / 275 MB, free: 11.12 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.04364, allocations: 0 / 275 MB, free: 11.12 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.483e-05/0.04372, allocations: 4 kB / 275 MB, free: 11.12 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.006336/0.05006, allocations: 2.54 MB / 277.6 MB, free: 8.539 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/0.05011, allocations: 11.98 kB / 277.6 MB, free: 8.527 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00115/0.05126, allocations: 423.3 kB / 278 MB, free: 8.113 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002832/0.05409, allocations: 1.282 MB / 279.3 MB, free: 6.793 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001495/0.05424, allocations: 143.9 kB / 279.4 MB, free: 6.652 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003405/0.05458, allocations: 188.3 kB / 279.6 MB, free: 6.469 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004934/0.05952, allocations: 2.503 MB / 282.1 MB, free: 3.906 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.928e-05/0.05959, allocations: 15.88 kB / 282.1 MB, free: 3.891 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001982/0.05979, allocations: 72 kB / 282.2 MB, free: 3.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001263/0.05991, allocations: 83.5 kB / 282.3 MB, free: 3.738 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004007/0.06392, allocations: 2.012 MB / 284.3 MB, free: 1.723 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01344/0.07736, allocations: 6.511 MB / 290.8 MB, free: 11.01 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002108/0.07947, allocations: 0.9841 MB / 291.8 MB, free: 10.02 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001923/0.08139, allocations: 0.8654 MB / 292.6 MB, free: 9.16 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000227/0.08162, allocations: 48.97 kB / 292.7 MB, free: 9.109 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.843e-05/0.08167, allocations: 39.56 kB / 292.7 MB, free: 9.062 MB / 282.7 MB Notification: Performance of pre-optimization done (n=84): time 2.504e-06/0.08167, allocations: 0 / 292.7 MB, free: 9.062 MB / 282.7 MB Notification: Performance of matching and sorting (n=100): time 0.01152/0.09319, allocations: 4.754 MB / 297.5 MB, free: 4.27 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.263e-05/0.09326, allocations: 68.34 kB / 297.6 MB, free: 4.188 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002397/0.09566, allocations: 1.237 MB / 298.8 MB, free: 2.938 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001338/0.09579, allocations: 45.7 kB / 298.8 MB, free: 2.887 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009065/0.0967, allocations: 0.9257 MB / 299.8 MB, free: 1.949 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004165/0.09711, allocations: 364.9 kB / 300.1 MB, free: 1.59 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004243/0.09754, allocations: 214.9 kB / 300.3 MB, free: 1.371 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003623/0.0979, allocations: 353.9 kB / 300.7 MB, free: 1.02 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001174/0.09907, allocations: 0.635 MB / 301.3 MB, free: 396 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1195/0.2186, allocations: 0.9168 MB / 302.2 MB, free: 56.15 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002181/0.2208, allocations: 1.646 MB / 303.9 MB, free: 55.63 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.2208, allocations: 3.406 kB / 303.9 MB, free: 55.63 MB / 282.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004272/0.225, allocations: 2.413 MB / 306.3 MB, free: 54.82 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/0.2251, allocations: 10.47 kB / 306.3 MB, free: 54.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.071e-05/0.2251, allocations: 13.77 kB / 306.3 MB, free: 54.81 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002525/0.2276, allocations: 0.8888 MB / 307.2 MB, free: 54.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008731/0.2285, allocations: 234.6 kB / 307.4 MB, free: 54.6 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00918/0.2377, allocations: 8.433 MB / 315.9 MB, free: 49.86 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/0.2387, allocations: 85.84 kB / 315.9 MB, free: 49.84 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.087e-05/0.2388, allocations: 43.72 kB / 316 MB, free: 49.84 MB / 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.0008242/0.2396, allocations: 0.629 MB / 316.6 MB, free: 49.48 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002628/0.2399, allocations: 175 kB / 316.8 MB, free: 49.47 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002578/0.2425, allocations: 1.878 MB / 318.7 MB, free: 48.6 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.2425, allocations: 8 kB / 318.7 MB, free: 48.59 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.2425, allocations: 4 kB / 318.7 MB, free: 48.59 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.2425, allocations: 9.219 kB / 318.7 MB, free: 48.59 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004955/0.2474, allocations: 3.524 MB / 322.2 MB, free: 45.06 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.2474, allocations: 4.219 kB / 322.2 MB, free: 45.05 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007144/0.2482, allocations: 187.7 kB / 322.4 MB, free: 44.87 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00114/0.2493, allocations: 489.3 kB / 322.9 MB, free: 44.39 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.728e-05/0.2494, allocations: 31.98 kB / 322.9 MB, free: 44.36 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004561/0.2539, allocations: 6.293 MB / 329.2 MB, free: 37.82 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2539, allocations: 0 / 329.2 MB, free: 37.82 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003443/0.2574, allocations: 2.791 MB / 332 MB, free: 35.03 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005794/0.2579, allocations: 275 kB / 332.3 MB, free: 34.76 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001583/0.2581, allocations: 27.92 kB / 332.3 MB, free: 34.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007018/0.2588, allocations: 67.92 kB / 332.4 MB, free: 34.66 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001861/0.259, allocations: 80.84 kB / 332.4 MB, free: 34.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.084e-05/0.2591, allocations: 38.86 kB / 332.5 MB, free: 34.55 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0009184/0.26, allocations: 0.8493 MB / 333.3 MB, free: 33.7 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.26, allocations: 0 / 333.3 MB, free: 33.7 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001258/0.2612, allocations: 432.1 kB / 333.7 MB, free: 33.28 MB / 282.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.0003193/0.2616, allocations: 183.5 kB / 333.9 MB, free: 33.09 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00267/0.2642, allocations: 1.933 MB / 335.9 MB, free: 31.13 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.2642, allocations: 3.734 kB / 335.9 MB, free: 31.13 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001526/0.2658, allocations: 1.229 MB / 337.1 MB, free: 29.86 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001345/0.2671, allocations: 335 kB / 337.4 MB, free: 29.57 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004796/0.2719, allocations: 3.941 MB / 341.4 MB, free: 25.58 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008369/0.2727, allocations: 1.114 MB / 342.5 MB, free: 24.43 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0006931/0.2734, allocations: 295 kB / 342.8 MB, free: 24.13 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002475/0.2737, allocations: 92.48 kB / 342.8 MB, free: 24.04 MB / 282.7 MB Notification: Performance of SimCode: time 1.092e-06/0.2737, allocations: 0 / 342.8 MB, free: 24.04 MB / 282.7 MB Notification: Performance of Templates: time 0.03035/0.304, allocations: 23.03 MB / 365.9 MB, free: 1.027 MB / 282.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: 5.471537120989524]