Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009226/0.0009226, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001268/0.00219, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008078/0.0008078, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001145/0.001952, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9228/0.9228, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1736/1.096, allocations: 52.5 MB / 238.5 MB, free: 7.609 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 239.8 MB, free: 6.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.008e-05/2.153e-05, allocations: 2.312 kB / 239.8 MB, free: 6.336 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.00748/0.007502, allocations: 9.224 MB / 249 MB, free: 13.09 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00505/0.01255, allocations: 3.035 MB / 252 MB, free: 10.06 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009464/0.0135, allocations: 59.62 kB / 252.1 MB, free: 10 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00116/0.01466, allocations: 0.6427 MB / 252.7 MB, free: 9.359 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001651/0.01631, allocations: 0.8371 MB / 253.6 MB, free: 8.52 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005332/0.01684, allocations: 359.4 kB / 253.9 MB, free: 8.168 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001997/0.01884, allocations: 2.758 MB / 256.7 MB, free: 5.395 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001017/0.01986, allocations: 1.16 MB / 257.8 MB, free: 4.152 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002181/0.02204, allocations: 2.117 MB / 259.9 MB, free: 2.016 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001316/0.02335, allocations: 1.36 MB / 261.3 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003133/0.02367, allocations: 300 kB / 261.6 MB, free: 368 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005699/0.02424, allocations: 391.8 kB / 262 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004814/0.02472, allocations: 0.7364 MB / 262.7 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007025/0.02542, allocations: 0.7915 MB / 263.5 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001775/0.0272, allocations: 2.11 MB / 265.6 MB, free: 12.33 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.074e-05/0.02721, allocations: 0 / 265.6 MB, free: 12.33 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.02721, allocations: 4 kB / 265.6 MB, free: 12.32 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.713e-05/0.02725, allocations: 0 / 265.6 MB, free: 12.32 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.002948/0.03019, allocations: 3.125 MB / 268.7 MB, free: 9.156 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.03023, allocations: 11.98 kB / 268.8 MB, free: 9.145 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006162/0.03085, allocations: 453.7 kB / 269.2 MB, free: 8.684 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001249/0.03209, allocations: 1.027 MB / 270.2 MB, free: 7.613 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.228e-05/0.03218, allocations: 152.4 kB / 270.4 MB, free: 7.461 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001936/0.03237, allocations: 200.4 kB / 270.6 MB, free: 7.266 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001628/0.034, allocations: 1.589 MB / 272.2 MB, free: 5.562 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.931e-05/0.03404, allocations: 7.891 kB / 272.2 MB, free: 5.555 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/0.03415, allocations: 80 kB / 272.2 MB, free: 5.477 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.621e-05/0.03422, allocations: 87.94 kB / 272.3 MB, free: 5.391 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008435/0.03506, allocations: 0.6021 MB / 272.9 MB, free: 4.785 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006171/0.04123, allocations: 5.413 MB / 278.3 MB, free: 15.16 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007902/0.04202, allocations: 0.6641 MB / 279 MB, free: 14.48 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000733/0.04275, allocations: 487.4 kB / 279.5 MB, free: 14 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000183/0.04294, allocations: 40.97 kB / 279.5 MB, free: 13.96 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.612e-05/0.04299, allocations: 51.5 kB / 279.6 MB, free: 13.9 MB / 282.7 MB Notification: Performance of pre-optimization done (n=104): time 5.29e-06/0.043, allocations: 4 kB / 279.6 MB, free: 13.9 MB / 282.7 MB Notification: Performance of matching and sorting (n=120): time 0.004426/0.04742, allocations: 2.506 MB / 282.1 MB, free: 11.35 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.04746, allocations: 64.41 kB / 282.1 MB, free: 11.27 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008432/0.0483, allocations: 0.9831 MB / 283.1 MB, free: 10.27 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.088e-05/0.04836, allocations: 45.7 kB / 283.2 MB, free: 10.22 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003377/0.0487, allocations: 0.8271 MB / 284 MB, free: 9.379 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002219/0.04892, allocations: 436.2 kB / 284.4 MB, free: 8.949 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002306/0.04915, allocations: 239.4 kB / 284.7 MB, free: 8.707 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.04925, allocations: 365.8 kB / 285 MB, free: 8.344 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/0.04947, allocations: 162.8 kB / 285.2 MB, free: 8.184 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003907/0.04986, allocations: 484.9 kB / 285.7 MB, free: 7.582 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007569/0.05061, allocations: 0.8258 MB / 286.5 MB, free: 6.625 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.05062, allocations: 0 / 286.5 MB, free: 6.625 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001168/0.05179, allocations: 0.9212 MB / 287.4 MB, free: 5.68 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.05181, allocations: 12 kB / 287.4 MB, free: 5.668 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.05182, allocations: 11.94 kB / 287.4 MB, free: 5.656 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004854/0.05231, allocations: 211.6 kB / 287.6 MB, free: 5.438 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007549/0.05306, allocations: 347.5 kB / 288 MB, free: 5.098 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002177/0.05524, allocations: 3.155 MB / 291.1 MB, free: 1.758 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005681/0.05581, allocations: 55.94 kB / 291.2 MB, free: 1.703 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.883e-05/0.05587, allocations: 43.92 kB / 291.2 MB, free: 1.66 MB / 282.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.0004705/0.05634, allocations: 196.3 kB / 291.4 MB, free: 1.457 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002023/0.05654, allocations: 131.9 kB / 291.5 MB, free: 1.328 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001074/0.05762, allocations: 0.8263 MB / 292.4 MB, free: 492 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.05762, allocations: 12 kB / 292.4 MB, free: 480 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.05763, allocations: 3.984 kB / 292.4 MB, free: 476 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.05764, allocations: 7.984 kB / 292.4 MB, free: 468 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002807/0.06045, allocations: 2.08 MB / 294.5 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.06045, allocations: 3.984 kB / 294.5 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006424/0.06109, allocations: 279.8 kB / 294.7 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003541/0.06145, allocations: 202.9 kB / 294.9 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005529/0.062, allocations: 267.6 kB / 295.2 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.039e-05/0.06206, allocations: 31.98 kB / 295.2 MB, free: 13.49 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002571/0.06463, allocations: 4.362 MB / 299.6 MB, free: 8.848 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.06464, allocations: 4 kB / 299.6 MB, free: 8.844 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/0.06608, allocations: 1.213 MB / 300.8 MB, free: 7.551 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001935/0.06628, allocations: 27.98 kB / 300.8 MB, free: 7.523 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003911/0.06667, allocations: 47.97 kB / 300.9 MB, free: 7.477 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001834/0.06685, allocations: 100.7 kB / 301 MB, free: 7.379 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.492e-05/0.0669, allocations: 27.98 kB / 301 MB, free: 7.352 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004758/0.06737, allocations: 485 kB / 301.5 MB, free: 6.871 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.06737, allocations: 0 / 301.5 MB, free: 6.871 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001079/0.06845, allocations: 452 kB / 301.9 MB, free: 6.43 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.000281/0.06873, allocations: 168.1 kB / 302.1 MB, free: 6.258 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00121/0.06994, allocations: 0.9905 MB / 303.1 MB, free: 5.242 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.738e-05/0.06999, allocations: 35 kB / 303.1 MB, free: 5.211 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001221/0.07121, allocations: 1.026 MB / 304.1 MB, free: 4.129 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001908/0.07312, allocations: 3.828 MB / 308 MB, free: 15.54 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01397/0.08709, allocations: 3.615 MB / 311.6 MB, free: 11.84 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005054/0.08759, allocations: 0.5009 MB / 312.1 MB, free: 11.31 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006734/0.08827, allocations: 196.7 kB / 312.3 MB, free: 11.11 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006458/0.08891, allocations: 397.1 kB / 312.7 MB, free: 10.73 MB / 314.7 MB Notification: Performance of SimCode: time 2.023e-06/0.08892, allocations: 0 / 312.7 MB, free: 10.73 MB / 314.7 MB Notification: Performance of Templates: time 0.03364/0.1226, allocations: 26.31 MB / 339 MB, free: 0.8047 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.128450176678598]