Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.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.001421/0.001421, allocations: 96.3 kB / 21.73 MB, free: 2.707 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.001442/0.001442, allocations: 168.6 kB / 25.02 MB, free: 9.41 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.498/1.498, allocations: 158.6 MB / 186.8 MB, free: 2.906 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_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.265e-06/2.265e-06, allocations: 0 / 250.4 MB, free: 3.934 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.988e-05/3.214e-05, allocations: 6.312 kB / 250.4 MB, free: 3.926 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.01365/0.01368, allocations: 8.552 MB / 258.9 MB, free: 11.33 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00733/0.02101, allocations: 2.91 MB / 261.8 MB, free: 8.406 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001553/0.02257, allocations: 51.69 kB / 261.9 MB, free: 8.355 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002313/0.02488, allocations: 0.6169 MB / 262.5 MB, free: 7.734 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003604/0.02848, allocations: 0.8186 MB / 263.3 MB, free: 6.91 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001355/0.02984, allocations: 391.2 kB / 263.7 MB, free: 6.527 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004276/0.03411, allocations: 2.536 MB / 266.3 MB, free: 3.98 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002272/0.03639, allocations: 0.9894 MB / 267.2 MB, free: 2.941 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003606/0.03999, allocations: 1.61 MB / 268.9 MB, free: 1.328 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002951/0.04294, allocations: 1.114 MB / 270 MB, free: 216 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008953/0.04384, allocations: 284 kB / 270.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001585/0.04542, allocations: 371.7 kB / 270.6 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001385/0.04681, allocations: 0.8062 MB / 271.4 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002434/0.04924, allocations: 0.877 MB / 272.3 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006653/0.05589, allocations: 3.685 MB / 276 MB, free: 10.19 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.0559, allocations: 0 / 276 MB, free: 10.19 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.0559, allocations: 0 / 276 MB, free: 10.19 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001762/0.05608, allocations: 0 / 276 MB, free: 10.19 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.007523/0.0636, allocations: 2.556 MB / 278.5 MB, free: 7.59 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.06365, allocations: 11.98 kB / 278.5 MB, free: 7.578 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/0.06478, allocations: 439.2 kB / 279 MB, free: 7.148 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002656/0.06744, allocations: 1.246 MB / 280.2 MB, free: 5.863 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001608/0.0676, allocations: 144.1 kB / 280.4 MB, free: 5.723 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003466/0.06795, allocations: 192.3 kB / 280.5 MB, free: 5.535 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00479/0.07274, allocations: 2.516 MB / 283.1 MB, free: 2.957 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.633e-05/0.07279, allocations: 11.92 kB / 283.1 MB, free: 2.945 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002027/0.073, allocations: 79.98 kB / 283.1 MB, free: 2.867 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001221/0.07312, allocations: 91.69 kB / 283.2 MB, free: 2.777 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003892/0.07701, allocations: 1.955 MB / 285.2 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01392/0.09093, allocations: 6.88 MB / 292.1 MB, free: 9.711 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001904/0.09283, allocations: 0.9985 MB / 293.1 MB, free: 8.707 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002146/0.09498, allocations: 0.9133 MB / 294 MB, free: 7.789 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000235/0.09521, allocations: 48.97 kB / 294 MB, free: 7.738 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.204e-05/0.09526, allocations: 47.55 kB / 294.1 MB, free: 7.684 MB / 282.7 MB Notification: Performance of pre-optimization done (n=95): time 2.635e-06/0.09527, allocations: 0 / 294.1 MB, free: 7.684 MB / 282.7 MB Notification: Performance of matching and sorting (n=111): time 0.01502/0.1103, allocations: 5.548 MB / 299.6 MB, free: 2.094 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.623e-05/0.1104, allocations: 60.41 kB / 299.7 MB, free: 2.02 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002186/0.1126, allocations: 1.166 MB / 300.9 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001021/0.1127, allocations: 41.7 kB / 300.9 MB, free: 0.793 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1198/0.2325, allocations: 0.9413 MB / 301.8 MB, free: 56.91 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006413/0.2331, allocations: 406.2 kB / 302.2 MB, free: 56.91 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007744/0.2339, allocations: 247.3 kB / 302.5 MB, free: 56.89 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.2341, allocations: 367.5 kB / 302.8 MB, free: 56.59 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001332/0.2354, allocations: 0.6371 MB / 303.5 MB, free: 56.56 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001434/0.2368, allocations: 1.003 MB / 304.5 MB, free: 55.9 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002711/0.2395, allocations: 1.73 MB / 306.2 MB, free: 54.94 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.111e-05/0.2396, allocations: 3.375 kB / 306.2 MB, free: 54.94 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005027/0.2446, allocations: 2.293 MB / 308.5 MB, free: 54.04 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.913e-05/0.2446, allocations: 13.77 kB / 308.5 MB, free: 54.04 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.253e-05/0.2447, allocations: 11.34 kB / 308.5 MB, free: 54.04 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002087/0.2468, allocations: 0.526 MB / 309 MB, free: 53.88 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/0.2481, allocations: 300.9 kB / 309.3 MB, free: 53.85 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007036/0.2551, allocations: 6.729 MB / 316.1 MB, free: 48.79 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/0.2564, allocations: 80.08 kB / 316.1 MB, free: 48.76 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001695/0.2566, allocations: 60.7 kB / 316.2 MB, free: 48.75 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00112/0.2577, allocations: 0.5933 MB / 316.8 MB, free: 48.4 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005233/0.2582, allocations: 190.7 kB / 317 MB, free: 48.31 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003408/0.2617, allocations: 1.934 MB / 318.9 MB, free: 47.52 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.2617, allocations: 20.02 kB / 318.9 MB, free: 47.52 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.975e-05/0.2617, allocations: 3.75 kB / 318.9 MB, free: 47.52 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.2617, allocations: 3.984 kB / 318.9 MB, free: 47.52 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006102/0.2678, allocations: 3.644 MB / 322.6 MB, free: 44.87 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/0.2678, allocations: 4 kB / 322.6 MB, free: 44.87 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000786/0.2686, allocations: 183.8 kB / 322.8 MB, free: 44.69 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001508/0.2701, allocations: 0.5649 MB / 323.3 MB, free: 44.11 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.138e-05/0.2702, allocations: 27.98 kB / 323.4 MB, free: 44.08 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006315/0.2765, allocations: 8.231 MB / 331.6 MB, free: 35.45 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.2765, allocations: 0 / 331.6 MB, free: 35.45 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00396/0.2805, allocations: 2.871 MB / 334.5 MB, free: 32.53 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009934/0.2815, allocations: 271 kB / 334.7 MB, free: 32.27 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004212/0.2819, allocations: 27.98 kB / 334.8 MB, free: 32.24 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009248/0.2828, allocations: 71.92 kB / 334.8 MB, free: 32.17 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002423/0.2831, allocations: 92.8 kB / 334.9 MB, free: 32.08 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.159e-05/0.2831, allocations: 32.88 kB / 335 MB, free: 32.05 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001266/0.2844, allocations: 0.7809 MB / 335.7 MB, free: 31.26 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2844, allocations: 0 / 335.7 MB, free: 31.26 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001711/0.2861, allocations: 438.5 kB / 336.2 MB, free: 30.84 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,1,100.0%), (2,8,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.0003476/0.2865, allocations: 182.2 kB / 336.3 MB, free: 30.65 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002931/0.2894, allocations: 2 MB / 338.3 MB, free: 28.61 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.2894, allocations: 0 / 338.3 MB, free: 28.61 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001859/0.2913, allocations: 1.391 MB / 339.7 MB, free: 27.17 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001839/0.2931, allocations: 368.6 kB / 340.1 MB, free: 26.83 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006101/0.2992, allocations: 3.988 MB / 344.1 MB, free: 22.79 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001205/0.3004, allocations: 1.08 MB / 345.2 MB, free: 21.67 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0009215/0.3013, allocations: 303.8 kB / 345.5 MB, free: 21.37 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003008/0.3016, allocations: 92.48 kB / 345.5 MB, free: 21.28 MB / 282.7 MB Notification: Performance of SimCode: time 1.323e-06/0.3016, allocations: 3.172 kB / 345.6 MB, free: 21.28 MB / 282.7 MB Notification: Performance of Templates: time 0.03352/0.3351, allocations: 22.8 MB / 368.3 MB, free: 14.5 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_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_Steinmetz/AIMC_Steinmetz.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.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.532206497038715]