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.001003/0.001003, allocations: 84.39 kB / 22.21 MB, free: 2.289 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.001052/0.001052, allocations: 170.5 kB / 25.6 MB, free: 8.918 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.9774/0.9774, allocations: 158.6 MB / 187.5 MB, free: 2.824 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.904e-06/1.904e-06, allocations: 0 / 251.5 MB, free: 7.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.43e-05/2.62e-05, allocations: 2.312 kB / 251.5 MB, free: 7.234 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.008259/0.008285, allocations: 9.078 MB / 260.6 MB, free: 14.11 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0052/0.01349, allocations: 2.961 MB / 263.5 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001162/0.01465, allocations: 51.62 kB / 263.6 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001413/0.01606, allocations: 0.629 MB / 264.2 MB, free: 10.45 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002287/0.01835, allocations: 0.8577 MB / 265.1 MB, free: 9.59 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008173/0.01917, allocations: 355.4 kB / 265.4 MB, free: 9.242 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.006207/0.02537, allocations: 2.793 MB / 268.2 MB, free: 6.441 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004556/0.02993, allocations: 1.077 MB / 269.3 MB, free: 5.301 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006481/0.03641, allocations: 1.926 MB / 271.2 MB, free: 3.371 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005181/0.04159, allocations: 1.372 MB / 272.6 MB, free: 1.996 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007109/0.0423, allocations: 300 kB / 272.9 MB, free: 1.703 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009158/0.04322, allocations: 395.8 kB / 273.3 MB, free: 1.316 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007594/0.04398, allocations: 0.8998 MB / 274.2 MB, free: 424 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004662/0.04864, allocations: 0.9587 MB / 275.1 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006083/0.05472, allocations: 2.247 MB / 277.4 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.05473, allocations: 0 / 277.4 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.05473, allocations: 0 / 277.4 MB, free: 13.2 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.775e-05/0.05479, allocations: 3.938 kB / 277.4 MB, free: 13.2 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.01091/0.0657, allocations: 2.882 MB / 280.2 MB, free: 10.26 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.06575, allocations: 15.98 kB / 280.3 MB, free: 10.24 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000978/0.06673, allocations: 475.1 kB / 280.7 MB, free: 9.777 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005269/0.07199, allocations: 1.209 MB / 281.9 MB, free: 8.527 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001416/0.07214, allocations: 148.4 kB / 282.1 MB, free: 8.379 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003221/0.07246, allocations: 212.3 kB / 282.3 MB, free: 8.172 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005572/0.07803, allocations: 1.563 MB / 283.8 MB, free: 6.484 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.664e-05/0.07809, allocations: 7.891 kB / 283.9 MB, free: 6.477 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001693/0.07826, allocations: 80 kB / 283.9 MB, free: 6.398 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001101/0.07837, allocations: 95.92 kB / 284 MB, free: 6.305 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001433/0.0798, allocations: 0.5964 MB / 284.6 MB, free: 5.707 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009863/0.08966, allocations: 6.783 MB / 291.4 MB, free: 14.68 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007871/0.09045, allocations: 0.6441 MB / 292.1 MB, free: 14.03 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006754/0.09112, allocations: 0.5022 MB / 292.6 MB, free: 13.52 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001456/0.09127, allocations: 48.92 kB / 292.6 MB, free: 13.47 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.0913, allocations: 46.39 kB / 292.6 MB, free: 13.42 MB / 282.7 MB Notification: Performance of pre-optimization done (n=104): time 3.096e-06/0.09131, allocations: 0 / 292.6 MB, free: 13.42 MB / 282.7 MB Notification: Performance of matching and sorting (n=120): time 0.004675/0.09598, allocations: 2.518 MB / 295.2 MB, free: 10.86 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.09602, allocations: 64.41 kB / 295.2 MB, free: 10.78 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.09713, allocations: 1.194 MB / 296.4 MB, free: 9.547 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.201e-05/0.09719, allocations: 45.7 kB / 296.5 MB, free: 9.496 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006095/0.0978, allocations: 1.101 MB / 297.6 MB, free: 8.383 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002801/0.09808, allocations: 448.2 kB / 298 MB, free: 7.941 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002644/0.09834, allocations: 269 kB / 298.3 MB, free: 7.672 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.09849, allocations: 0.551 MB / 298.8 MB, free: 7.113 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002443/0.09874, allocations: 175.8 kB / 299 MB, free: 6.941 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004315/0.09917, allocations: 0.6248 MB / 299.6 MB, free: 6.137 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007651/0.09993, allocations: 0.9053 MB / 300.5 MB, free: 5.055 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.09994, allocations: 0 / 300.5 MB, free: 5.055 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001427/0.1014, allocations: 1.131 MB / 301.7 MB, free: 3.898 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.1014, allocations: 12.48 kB / 301.7 MB, free: 3.887 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.1014, allocations: 15.88 kB / 301.7 MB, free: 3.871 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004808/0.1019, allocations: 226.5 kB / 301.9 MB, free: 3.633 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006131/0.1025, allocations: 287.5 kB / 302.2 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002423/0.1049, allocations: 4.292 MB / 306.5 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005013/0.1054, allocations: 43.98 kB / 306.5 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.806e-05/0.1055, allocations: 44 kB / 306.6 MB, free: 14.75 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.0004457/0.1059, allocations: 244.1 kB / 306.8 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002208/0.1061, allocations: 199 kB / 307 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001174/0.1073, allocations: 0.9677 MB / 308 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.1073, allocations: 12 kB / 308 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.1073, allocations: 8 kB / 308 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.1073, allocations: 7.969 kB / 308 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003163/0.1105, allocations: 2.413 MB / 310.4 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.1105, allocations: 7.938 kB / 310.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004763/0.111, allocations: 199.7 kB / 310.6 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006559/0.1116, allocations: 270.6 kB / 310.9 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/0.1118, allocations: 31.92 kB / 310.9 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003254/0.115, allocations: 6.026 MB / 316.9 MB, free: 3.879 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.115, allocations: 0 / 316.9 MB, free: 3.879 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001684/0.1167, allocations: 1.395 MB / 318.3 MB, free: 2.406 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004094/0.1171, allocations: 254.9 kB / 318.6 MB, free: 2.156 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/0.1172, allocations: 31.94 kB / 318.6 MB, free: 2.125 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003437/0.1176, allocations: 47.97 kB / 318.6 MB, free: 2.078 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/0.1177, allocations: 96.77 kB / 318.7 MB, free: 1.984 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.251e-05/0.1178, allocations: 27.98 kB / 318.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005334/0.1183, allocations: 0.6496 MB / 319.4 MB, free: 1.305 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.1183, allocations: 0 / 319.4 MB, free: 1.305 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001158/0.1195, allocations: 455.9 kB / 319.9 MB, free: 0.8594 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.0002985/0.1198, allocations: 186.7 kB / 320 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001511/0.1213, allocations: 1.169 MB / 321.2 MB, free: 15.46 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.1213, allocations: 8.125 kB / 321.2 MB, free: 15.46 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009895/0.1223, allocations: 0.981 MB / 322.2 MB, free: 14.41 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009874/0.1232, allocations: 398.1 kB / 322.6 MB, free: 14.02 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005496/0.1287, allocations: 3.719 MB / 326.3 MB, free: 10.21 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004682/0.1292, allocations: 0.5672 MB / 326.9 MB, free: 9.621 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006312/0.1298, allocations: 192.7 kB / 327.1 MB, free: 9.426 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006779/0.1305, allocations: 445.9 kB / 327.5 MB, free: 8.988 MB / 314.7 MB Notification: Performance of SimCode: time 1.352e-06/0.1305, allocations: 4 kB / 327.5 MB, free: 8.984 MB / 314.7 MB Notification: Performance of Templates: time 0.1489/0.2794, allocations: 25.41 MB / 352.9 MB, free: 91.7 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.591512617189437]