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.0008009/0.0008009, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 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.004728/0.004728, allocations: 144.8 kB / 24.68 MB, free: 9.426 MB / 18.57 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.8543/0.8543, allocations: 173.4 MB / 201.2 MB, free: 9.418 MB / 186.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.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|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.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|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.142e-06/1.142e-06, allocations: 0 / 319.7 MB, free: 5.809 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.372e-05/1.486e-05, allocations: 4.812 kB / 319.7 MB, free: 5.805 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.00664/0.006654, allocations: 8.326 MB / 328 MB, free: 13.44 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00313/0.009784, allocations: 2.812 MB / 330.8 MB, free: 10.61 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003734/0.01016, allocations: 63.62 kB / 330.9 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008689/0.01103, allocations: 0.6325 MB / 331.5 MB, free: 9.914 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009964/0.01202, allocations: 0.8305 MB / 332.4 MB, free: 9.078 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003256/0.01235, allocations: 359.3 kB / 332.7 MB, free: 8.727 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001453/0.0138, allocations: 2.753 MB / 335.5 MB, free: 5.957 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008786/0.01468, allocations: 1.124 MB / 336.6 MB, free: 4.773 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001152/0.01583, allocations: 1.77 MB / 338.4 MB, free: 3 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009979/0.01683, allocations: 1.317 MB / 339.7 MB, free: 1.68 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000216/0.01705, allocations: 308 kB / 340 MB, free: 1.379 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003528/0.0174, allocations: 395.8 kB / 340.4 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004724/0.01787, allocations: 0.9232 MB / 341.3 MB, free: 68 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005662/0.01844, allocations: 0.9627 MB / 342.3 MB, free: 15.1 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002307/0.02074, allocations: 4.14 MB / 346.4 MB, free: 10.95 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.02075, allocations: 3.984 kB / 346.4 MB, free: 10.95 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.02075, allocations: 4 kB / 346.4 MB, free: 10.94 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.949e-05/0.02077, allocations: 0 / 346.4 MB, free: 10.94 MB / 314.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.00273/0.0235, allocations: 2.814 MB / 349.2 MB, free: 8.078 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.02353, allocations: 8.922 kB / 349.2 MB, free: 8.07 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004079/0.02394, allocations: 307.2 kB / 349.5 MB, free: 7.77 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001483/0.02542, allocations: 1.463 MB / 351 MB, free: 6.262 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.462e-05/0.0255, allocations: 152.4 kB / 351.1 MB, free: 6.109 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003303/0.02583, allocations: 208.3 kB / 351.3 MB, free: 5.906 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002596/0.02842, allocations: 2.837 MB / 354.2 MB, free: 2.957 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.097e-05/0.02846, allocations: 19.81 kB / 354.2 MB, free: 2.938 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000122/0.02859, allocations: 80 kB / 354.3 MB, free: 2.859 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.399e-05/0.02865, allocations: 95.94 kB / 354.4 MB, free: 2.766 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002294/0.03095, allocations: 2.319 MB / 356.7 MB, free: 456 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006486/0.03743, allocations: 7.258 MB / 364 MB, free: 8.965 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001186/0.03862, allocations: 1.236 MB / 365.2 MB, free: 7.719 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001237/0.03985, allocations: 1.007 MB / 366.2 MB, free: 6.707 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001359/0.03999, allocations: 52.91 kB / 366.2 MB, free: 6.656 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.04001, allocations: 43.56 kB / 366.3 MB, free: 6.605 MB / 330.7 MB Notification: Performance of pre-optimization done (n=104): time 2.435e-06/0.04002, allocations: 4 kB / 366.3 MB, free: 6.602 MB / 330.7 MB Notification: Performance of matching and sorting (n=120): time 0.006851/0.04687, allocations: 5.912 MB / 372.2 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.0469, allocations: 68.34 kB / 372.3 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/0.04816, allocations: 1.384 MB / 373.7 MB, free: 15.17 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.423e-05/0.04822, allocations: 45.7 kB / 373.7 MB, free: 15.12 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000421/0.04864, allocations: 1.009 MB / 374.7 MB, free: 14.1 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001978/0.04883, allocations: 436.3 kB / 375.1 MB, free: 13.67 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002374/0.04907, allocations: 247.5 kB / 375.4 MB, free: 13.42 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.176e-05/0.04916, allocations: 357.9 kB / 375.7 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007043/0.04987, allocations: 0.7378 MB / 376.5 MB, free: 12.33 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008316/0.0507, allocations: 1.052 MB / 377.5 MB, free: 11.15 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001586/0.05229, allocations: 1.879 MB / 379.4 MB, free: 9.141 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.05229, allocations: 4 kB / 379.4 MB, free: 9.137 MB / 346.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00238/0.05467, allocations: 2.338 MB / 381.7 MB, free: 6.777 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.05469, allocations: 11.94 kB / 381.7 MB, free: 6.766 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.0547, allocations: 12 kB / 381.8 MB, free: 6.754 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005231/0.05522, allocations: 410.2 kB / 382.2 MB, free: 6.344 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006173/0.05584, allocations: 331.5 kB / 382.5 MB, free: 6.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003134/0.05897, allocations: 4.778 MB / 387.3 MB, free: 1.035 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004354/0.05941, allocations: 87.84 kB / 387.3 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.223e-05/0.05947, allocations: 52 kB / 387.4 MB, free: 0.8984 MB / 346.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.0006653/0.06013, allocations: 0.7081 MB / 388.1 MB, free: 184 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.06027, allocations: 159 kB / 388.3 MB, free: 24 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002064/0.06234, allocations: 2.12 MB / 390.4 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.06234, allocations: 12 kB / 390.4 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.06235, allocations: 4 kB / 390.4 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.06236, allocations: 11.91 kB / 390.4 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004126/0.06648, allocations: 4.031 MB / 394.4 MB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.06649, allocations: 4 kB / 394.4 MB, free: 9.723 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004723/0.06696, allocations: 231.9 kB / 394.7 MB, free: 9.496 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006268/0.06759, allocations: 466.9 kB / 395.1 MB, free: 9.027 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.324e-05/0.06764, allocations: 31.98 kB / 395.2 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003762/0.0714, allocations: 6.272 MB / 401.4 MB, free: 2.418 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.0714, allocations: 7.938 kB / 401.4 MB, free: 2.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002802/0.07421, allocations: 3.161 MB / 404.6 MB, free: 15.19 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003938/0.0746, allocations: 314.9 kB / 404.9 MB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.0747, allocations: 27.98 kB / 404.9 MB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003866/0.07509, allocations: 79.92 kB / 405 MB, free: 14.78 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/0.07524, allocations: 108.7 kB / 405.1 MB, free: 14.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-05/0.07529, allocations: 35.98 kB / 405.2 MB, free: 14.63 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007807/0.07607, allocations: 0.9388 MB / 406.1 MB, free: 13.69 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07607, allocations: 0 / 406.1 MB, free: 13.69 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007899/0.07686, allocations: 463.9 kB / 406.5 MB, free: 13.24 MB / 378.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%), (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.000249/0.07711, allocations: 190.9 kB / 406.7 MB, free: 13.04 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00216/0.07927, allocations: 2.037 MB / 408.8 MB, free: 10.97 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.07927, allocations: 0 / 408.8 MB, free: 10.97 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001197/0.08047, allocations: 1.37 MB / 410.1 MB, free: 9.562 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00092/0.08139, allocations: 381.2 kB / 410.5 MB, free: 9.195 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003996/0.08538, allocations: 4.392 MB / 414.9 MB, free: 4.738 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001068/0.08645, allocations: 1.229 MB / 416.1 MB, free: 3.465 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002628/0.08671, allocations: 112.5 kB / 416.2 MB, free: 3.355 MB / 378.7 MB Notification: Performance of SimCode: time 6.31e-07/0.08671, allocations: 0 / 416.2 MB, free: 3.355 MB / 378.7 MB Notification: Performance of Templates: time 0.1637/0.2504, allocations: 70.01 MB / 486.3 MB, free: 95.32 MB / 410.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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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: 8.27727452851832]