Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.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.001216/0.001216, allocations: 80.8 kB / 22.28 MB, free: 2.207 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.001174/0.001174, allocations: 169.6 kB / 25.69 MB, free: 8.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 0.8652/0.8652, allocations: 158.6 MB / 187.6 MB, free: 2.801 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.SynchronousInductionMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeed.phi|smee.is.[0-9,]+.|smee.idq_dr.[0-9,]+.|smee.idq_rr.[0-9,]+.|smee.idq_sr.[0-9,]+.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeed.phi|smee.is.[0-9,]+.|smee.idq_dr.[0-9,]+.|smee.idq_rr.[0-9,]+.|smee.idq_sr.[0-9,]+.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 251.5 MB, free: 7.262 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.027e-05/1.148e-05, allocations: 2.312 kB / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.008414/0.008425, allocations: 11.01 MB / 262.6 MB, free: 12.2 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005059/0.01348, allocations: 3.97 MB / 266.5 MB, free: 8.211 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005886/0.01407, allocations: 67.56 kB / 266.6 MB, free: 8.145 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001185/0.01526, allocations: 0.8323 MB / 267.4 MB, free: 7.309 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001435/0.01669, allocations: 1.032 MB / 268.5 MB, free: 6.27 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006352/0.01733, allocations: 0.5263 MB / 269 MB, free: 5.742 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001955/0.01928, allocations: 3.338 MB / 272.3 MB, free: 2.387 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001253/0.02054, allocations: 1.441 MB / 273.8 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002018/0.02256, allocations: 2.382 MB / 276.1 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001449/0.024, allocations: 1.605 MB / 277.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003851/0.02439, allocations: 376 kB / 278.1 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007002/0.02509, allocations: 0.5854 MB / 278.7 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006442/0.02573, allocations: 1.083 MB / 279.8 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008629/0.0266, allocations: 1.161 MB / 280.9 MB, free: 9.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002084/0.02868, allocations: 2.768 MB / 283.7 MB, free: 6.883 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.02868, allocations: 3.938 kB / 283.7 MB, free: 6.879 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.02869, allocations: 0 / 283.7 MB, free: 6.879 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.477e-05/0.02871, allocations: 0 / 283.7 MB, free: 6.879 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: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.003137/0.03185, allocations: 3.216 MB / 286.9 MB, free: 3.617 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.03188, allocations: 11.98 kB / 286.9 MB, free: 3.605 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008181/0.0327, allocations: 0.5161 MB / 287.5 MB, free: 3.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001286/0.03398, allocations: 1.127 MB / 288.6 MB, free: 1.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.108e-05/0.03408, allocations: 189.4 kB / 288.8 MB, free: 1.723 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002519/0.03433, allocations: 256.3 kB / 289 MB, free: 1.473 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001897/0.03622, allocations: 1.915 MB / 290.9 MB, free: 15.45 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.273e-05/0.03627, allocations: 8 kB / 290.9 MB, free: 15.44 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000148/0.03641, allocations: 104 kB / 291 MB, free: 15.34 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.73e-05/0.0365, allocations: 116.9 kB / 291.2 MB, free: 15.22 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.03751, allocations: 0.7198 MB / 291.9 MB, free: 14.47 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006763/0.04427, allocations: 6.749 MB / 298.6 MB, free: 7.398 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006857/0.04496, allocations: 0.6477 MB / 299.3 MB, free: 6.738 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005102/0.04547, allocations: 431.2 kB / 299.7 MB, free: 6.312 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000146/0.04562, allocations: 56.97 kB / 299.8 MB, free: 6.258 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.04564, allocations: 43.56 kB / 299.8 MB, free: 6.207 MB / 282.7 MB Notification: Performance of pre-optimization done (n=115): time 2.394e-06/0.04565, allocations: 4 kB / 299.8 MB, free: 6.203 MB / 282.7 MB Notification: Performance of matching and sorting (n=134): time 0.00446/0.05011, allocations: 2.853 MB / 302.7 MB, free: 3.32 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.05013, allocations: 72.64 kB / 302.7 MB, free: 3.234 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/0.05124, allocations: 1.211 MB / 303.9 MB, free: 2.016 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.389e-05/0.05131, allocations: 49.7 kB / 304 MB, free: 1.961 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004122/0.05172, allocations: 1.062 MB / 305 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002225/0.05194, allocations: 483.8 kB / 305.5 MB, free: 416 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002663/0.05221, allocations: 283.3 kB / 305.8 MB, free: 124 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.644e-05/0.05227, allocations: 305.1 kB / 306.1 MB, free: 15.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002575/0.05253, allocations: 182.7 kB / 306.3 MB, free: 15.64 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004323/0.05296, allocations: 0.6724 MB / 306.9 MB, free: 14.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008156/0.05378, allocations: 1.042 MB / 308 MB, free: 13.49 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.694e-06/0.05379, allocations: 8 kB / 308 MB, free: 13.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.001326/0.05511, allocations: 1.132 MB / 309.1 MB, free: 12.33 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.05513, allocations: 12 kB / 309.1 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.05515, allocations: 16 kB / 309.2 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004819/0.05563, allocations: 245.9 kB / 309.4 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006673/0.0563, allocations: 347.5 kB / 309.7 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002468/0.05876, allocations: 3.614 MB / 313.3 MB, free: 7.914 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00052/0.05928, allocations: 63.92 kB / 313.4 MB, free: 7.852 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.223e-05/0.05937, allocations: 63.98 kB / 313.5 MB, free: 7.789 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 182 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(3,12,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003493/0.05972, allocations: 212.3 kB / 313.7 MB, free: 7.57 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002095/0.05993, allocations: 159.8 kB / 313.8 MB, free: 7.414 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001077/0.061, allocations: 0.9056 MB / 314.7 MB, free: 6.477 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.769e-05/0.06102, allocations: 15.98 kB / 314.8 MB, free: 6.461 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.06103, allocations: 7.938 kB / 314.8 MB, free: 6.453 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.06103, allocations: 3.984 kB / 314.8 MB, free: 6.449 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003064/0.0641, allocations: 2.721 MB / 317.5 MB, free: 3.609 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.0641, allocations: 8 kB / 317.5 MB, free: 3.602 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004527/0.06456, allocations: 211.7 kB / 317.7 MB, free: 3.395 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005759/0.06513, allocations: 319.7 kB / 318 MB, free: 3.066 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-05/0.06519, allocations: 35.98 kB / 318 MB, free: 3.031 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002567/0.06776, allocations: 4.773 MB / 322.8 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.06776, allocations: 11.94 kB / 322.8 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/0.06937, allocations: 1.374 MB / 324.2 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003412/0.06971, allocations: 230.7 kB / 324.4 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001407/0.06985, allocations: 35.92 kB / 324.5 MB, free: 12.22 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004208/0.07027, allocations: 55.97 kB / 324.5 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/0.07042, allocations: 116.6 kB / 324.6 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.234e-05/0.07047, allocations: 35.98 kB / 324.7 MB, free: 12.01 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004978/0.07097, allocations: 0.619 MB / 325.3 MB, free: 11.39 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07097, allocations: 0 / 325.3 MB, free: 11.39 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001069/0.07204, allocations: 0.5273 MB / 325.8 MB, free: 10.87 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 5 (smee.phiMechanical,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[2],smee.idq_dr[1]) * 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 (116): * Single equations (assignments): 111 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,12,100.0%), (1,6,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003312/0.07237, allocations: 208 kB / 326 MB, free: 10.66 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001201/0.07357, allocations: 1.129 MB / 327.2 MB, free: 9.5 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.621e-05/0.0736, allocations: 21.81 kB / 327.2 MB, free: 9.48 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007648/0.07436, allocations: 0.8614 MB / 328 MB, free: 8.582 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009045/0.07527, allocations: 392.5 kB / 328.4 MB, free: 8.203 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004865/0.08013, allocations: 4.244 MB / 332.7 MB, free: 3.836 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004744/0.08061, allocations: 0.5752 MB / 333.2 MB, free: 3.23 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005188/0.08113, allocations: 226.5 kB / 333.5 MB, free: 3.004 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000632/0.08176, allocations: 405.1 kB / 333.9 MB, free: 2.609 MB / 314.7 MB Notification: Performance of SimCode: time 1.813e-06/0.08176, allocations: 0 / 333.9 MB, free: 2.609 MB / 314.7 MB Notification: Performance of Templates: time 0.1277/0.2095, allocations: 26.85 MB / 360.7 MB, free: 89.48 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMEE_Generator/SMEE_Generator.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5762245538644493]