Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.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.001477/0.001477, allocations: 85.08 kB / 23 MB, free: 1.504 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.001425/0.001425, allocations: 172.8 kB / 26.39 MB, free: 8 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.036/1.036, allocations: 158.6 MB / 188.3 MB, free: 2.809 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_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 3.938 kB / 252.3 MB, free: 7.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.711e-05/2.858e-05, allocations: 6.25 kB / 252.3 MB, free: 7.332 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.007946/0.007974, allocations: 9.07 MB / 261.3 MB, free: 14.21 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0046/0.01257, allocations: 2.972 MB / 264.3 MB, free: 11.23 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000886/0.01346, allocations: 51.62 kB / 264.4 MB, free: 11.18 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001241/0.0147, allocations: 0.6252 MB / 265 MB, free: 10.55 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00203/0.01673, allocations: 0.8459 MB / 265.8 MB, free: 9.699 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006874/0.01742, allocations: 367.4 kB / 266.2 MB, free: 9.34 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002538/0.01996, allocations: 2.785 MB / 269 MB, free: 6.543 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001306/0.02126, allocations: 1.077 MB / 270.1 MB, free: 5.402 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002721/0.02398, allocations: 1.926 MB / 272 MB, free: 3.473 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001916/0.0259, allocations: 1.38 MB / 273.4 MB, free: 2.09 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005217/0.02642, allocations: 300 kB / 273.7 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006662/0.02709, allocations: 383.8 kB / 274 MB, free: 1.422 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005704/0.02766, allocations: 0.8959 MB / 274.9 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001004/0.02866, allocations: 0.9587 MB / 275.9 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002106/0.03077, allocations: 2.262 MB / 278.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.03077, allocations: 0 / 278.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.03078, allocations: 0 / 278.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.75e-05/0.03081, allocations: 0 / 278.1 MB, free: 13.29 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.003062/0.03388, allocations: 2.878 MB / 281 MB, free: 10.36 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.03391, allocations: 15.98 kB / 281 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00063/0.03454, allocations: 475.1 kB / 281.5 MB, free: 9.879 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00125/0.0358, allocations: 1.209 MB / 282.7 MB, free: 8.629 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.884e-05/0.03588, allocations: 156.4 kB / 282.9 MB, free: 8.473 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002018/0.03609, allocations: 208.3 kB / 283.1 MB, free: 8.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001739/0.03783, allocations: 1.551 MB / 284.6 MB, free: 6.594 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.564e-05/0.03787, allocations: 11.89 kB / 284.6 MB, free: 6.582 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001229/0.03799, allocations: 87.97 kB / 284.7 MB, free: 6.496 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.306e-05/0.03807, allocations: 95.92 kB / 284.8 MB, free: 6.402 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008755/0.03894, allocations: 0.5964 MB / 285.4 MB, free: 5.805 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00656/0.0455, allocations: 6.783 MB / 292.2 MB, free: 14.77 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007423/0.04624, allocations: 0.6441 MB / 292.8 MB, free: 14.12 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006805/0.04693, allocations: 0.5022 MB / 293.3 MB, free: 13.62 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001299/0.04706, allocations: 48.92 kB / 293.4 MB, free: 13.57 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.04708, allocations: 42.39 kB / 293.4 MB, free: 13.52 MB / 282.7 MB Notification: Performance of pre-optimization done (n=104): time 3.546e-06/0.04709, allocations: 0 / 293.4 MB, free: 13.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=120): time 0.004316/0.0514, allocations: 2.522 MB / 295.9 MB, free: 10.95 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.05144, allocations: 64.41 kB / 296 MB, free: 10.88 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009944/0.05243, allocations: 1.194 MB / 297.2 MB, free: 9.645 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.985e-05/0.05249, allocations: 45.7 kB / 297.2 MB, free: 9.594 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005594/0.05305, allocations: 1.098 MB / 298.3 MB, free: 8.484 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002539/0.05331, allocations: 456.2 kB / 298.8 MB, free: 8.035 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002909/0.0536, allocations: 269 kB / 299.1 MB, free: 7.766 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.05377, allocations: 0.5432 MB / 299.6 MB, free: 7.215 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002465/0.05401, allocations: 171.8 kB / 299.8 MB, free: 7.047 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004751/0.05449, allocations: 0.6248 MB / 300.4 MB, free: 6.242 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008032/0.05529, allocations: 0.9092 MB / 301.3 MB, free: 5.156 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.0553, allocations: 4 kB / 301.3 MB, free: 5.152 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001486/0.05678, allocations: 1.143 MB / 302.4 MB, free: 3.984 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.05681, allocations: 8 kB / 302.5 MB, free: 3.977 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.05683, allocations: 15.88 kB / 302.5 MB, free: 3.961 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000516/0.05734, allocations: 222.5 kB / 302.7 MB, free: 3.727 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006526/0.05799, allocations: 295.5 kB / 303 MB, free: 3.438 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002485/0.06048, allocations: 4.272 MB / 307.2 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006165/0.0611, allocations: 47.98 kB / 307.3 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.331e-05/0.06116, allocations: 47.98 kB / 307.3 MB, free: 14.85 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004646/0.06162, allocations: 236.2 kB / 307.6 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002272/0.06185, allocations: 199 kB / 307.8 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001273/0.06312, allocations: 0.9715 MB / 308.7 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.06313, allocations: 12 kB / 308.7 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.06314, allocations: 4 kB / 308.8 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.06314, allocations: 7.969 kB / 308.8 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003133/0.06628, allocations: 2.421 MB / 311.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.06628, allocations: 0 / 311.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000482/0.06676, allocations: 200 kB / 311.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005862/0.06735, allocations: 258.4 kB / 311.6 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.75e-05/0.06741, allocations: 31.92 kB / 311.7 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002995/0.0704, allocations: 6.036 MB / 317.7 MB, free: 3.984 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.07041, allocations: 4 kB / 317.7 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001718/0.07212, allocations: 1.391 MB / 319.1 MB, free: 2.512 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004098/0.07253, allocations: 262.8 kB / 319.3 MB, free: 2.254 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.07265, allocations: 32 kB / 319.4 MB, free: 2.223 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003648/0.07302, allocations: 43.97 kB / 319.4 MB, free: 2.18 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/0.07317, allocations: 104.7 kB / 319.5 MB, free: 2.078 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.445e-05/0.07321, allocations: 24 kB / 319.5 MB, free: 2.055 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005272/0.07374, allocations: 0.6457 MB / 320.2 MB, free: 1.406 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.07374, allocations: 0 / 320.2 MB, free: 1.406 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001052/0.07479, allocations: 451.9 kB / 320.6 MB, free: 0.9648 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * 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%), (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.0002726/0.07506, allocations: 190.7 kB / 320.8 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001327/0.07639, allocations: 1.173 MB / 322 MB, free: 15.56 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.07639, allocations: 0 / 322 MB, free: 15.56 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008356/0.07723, allocations: 0.9856 MB / 323 MB, free: 14.51 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.07825, allocations: 400 kB / 323.4 MB, free: 14.12 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004472/0.08272, allocations: 3.711 MB / 327.1 MB, free: 10.32 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004553/0.08318, allocations: 0.5711 MB / 327.7 MB, free: 9.723 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005345/0.08371, allocations: 196.7 kB / 327.8 MB, free: 9.523 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006532/0.08436, allocations: 441.9 kB / 328.3 MB, free: 9.09 MB / 314.7 MB Notification: Performance of SimCode: time 1.623e-06/0.08436, allocations: 0 / 328.3 MB, free: 9.09 MB / 314.7 MB Notification: Performance of Templates: time 0.1389/0.2232, allocations: 25.89 MB / 354.2 MB, free: 98 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_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_DOL/AIMC_DOL.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.781696667894721]