Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.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.001355/0.001355, allocations: 81.66 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001411/0.001411, allocations: 147.1 kB / 23.94 MB, free: 4.164 MB / 14.72 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 1.418/1.418, allocations: 173.3 MB / 200.4 MB, free: 12.86 MB / 190.1 MB " [Timeout remaining time 178] 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.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.555e-06/2.555e-06, allocations: 0.6562 kB / 318.9 MB, free: 3.551 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.243e-05/2.499e-05, allocations: 2.281 kB / 318.9 MB, free: 3.547 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.007525/0.00755, allocations: 7.14 MB / 326.1 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004462/0.01201, allocations: 2.452 MB / 328.5 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005822/0.01259, allocations: 28 kB / 328.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001366/0.01396, allocations: 0.538 MB / 329.1 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001101/0.01506, allocations: 0.5084 MB / 329.6 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005075/0.01557, allocations: 249.7 kB / 329.8 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001611/0.01718, allocations: 1.54 MB / 331.4 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006318/0.01781, allocations: 374.6 kB / 331.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001104/0.01892, allocations: 0.8561 MB / 332.6 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006436/0.01956, allocations: 444.1 kB / 333 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001664/0.01973, allocations: 138 kB / 333.2 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003333/0.02006, allocations: 173.5 kB / 333.3 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000257/0.02032, allocations: 291.3 kB / 333.6 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005154/0.02083, allocations: 465.1 kB / 334.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00198/0.02281, allocations: 1.721 MB / 335.8 MB, free: 8.828 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.02282, allocations: 3.938 kB / 335.8 MB, free: 8.824 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.02282, allocations: 1.469 kB / 335.8 MB, free: 8.824 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.024e-05/0.02284, allocations: 0 / 335.8 MB, free: 8.824 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002502/0.02534, allocations: 1.393 MB / 337.2 MB, free: 7.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.02537, allocations: 9.625 kB / 337.2 MB, free: 7.77 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000689/0.02606, allocations: 193.7 kB / 337.4 MB, free: 7.68 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001289/0.02735, allocations: 0.6817 MB / 338.1 MB, free: 7.141 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.353e-05/0.02742, allocations: 72.5 kB / 338.2 MB, free: 7.105 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001356/0.02755, allocations: 100.6 kB / 338.3 MB, free: 7.07 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001684/0.02924, allocations: 1.026 MB / 339.3 MB, free: 6.383 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.632e-05/0.02927, allocations: 13.28 kB / 339.3 MB, free: 6.371 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.51e-05/0.02936, allocations: 40.66 kB / 339.3 MB, free: 6.34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.107e-05/0.02938, allocations: 28.41 kB / 339.4 MB, free: 6.336 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/0.03067, allocations: 0.6285 MB / 340 MB, free: 6.027 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005131/0.03581, allocations: 3.358 MB / 343.3 MB, free: 2.871 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000705/0.03651, allocations: 343.5 kB / 343.7 MB, free: 2.527 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006229/0.03713, allocations: 250 kB / 343.9 MB, free: 2.281 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.141e-05/0.03716, allocations: 4.328 kB / 343.9 MB, free: 2.277 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.0372, allocations: 38.89 kB / 344 MB, free: 2.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 1.843e-06/0.0372, allocations: 0 / 344 MB, free: 2.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.00294/0.04014, allocations: 1.267 MB / 345.2 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.377e-05/0.0402, allocations: 81.11 kB / 345.3 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.04124, allocations: 0.7581 MB / 346.1 MB, free: 64 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.997e-05/0.04128, allocations: 33.7 kB / 346.1 MB, free: 24 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004788/0.04176, allocations: 0.5813 MB / 346.7 MB, free: 15.43 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000138/0.04189, allocations: 162.6 kB / 346.8 MB, free: 15.27 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00019/0.04208, allocations: 126.6 kB / 347 MB, free: 15.14 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002076/0.04229, allocations: 390.7 kB / 347.3 MB, free: 14.75 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003505/0.04264, allocations: 165.9 kB / 347.5 MB, free: 14.59 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005997/0.04324, allocations: 485.7 kB / 348 MB, free: 13.97 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.04424, allocations: 0.6624 MB / 348.6 MB, free: 13.18 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.04425, allocations: 0 / 348.6 MB, free: 13.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001406/0.04565, allocations: 0.7633 MB / 349.4 MB, free: 12.4 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.04568, allocations: 8 kB / 349.4 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/0.04569, allocations: 12 kB / 349.4 MB, free: 12.38 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002852/0.04598, allocations: 81.92 kB / 349.5 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004982/0.04648, allocations: 151.8 kB / 349.7 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002676/0.04915, allocations: 2.881 MB / 352.5 MB, free: 9.062 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006099/0.04976, allocations: 31.98 kB / 352.6 MB, free: 9.031 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.566e-05/0.04981, allocations: 32 kB / 352.6 MB, free: 9 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004216/0.05023, allocations: 261.5 kB / 352.9 MB, free: 8.734 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.05036, allocations: 87.55 kB / 352.9 MB, free: 8.648 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009886/0.05135, allocations: 486.5 kB / 353.4 MB, free: 8.16 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.05136, allocations: 7.938 kB / 353.4 MB, free: 8.152 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.05136, allocations: 4 kB / 353.4 MB, free: 8.148 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.05137, allocations: 7.922 kB / 353.4 MB, free: 8.141 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002201/0.05357, allocations: 1.186 MB / 354.6 MB, free: 6.887 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.05358, allocations: 0 / 354.6 MB, free: 6.887 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000324/0.0539, allocations: 80.06 kB / 354.7 MB, free: 6.809 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002235/0.05412, allocations: 73.61 kB / 354.8 MB, free: 6.73 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.184e-05/0.05416, allocations: 12 kB / 354.8 MB, free: 6.719 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0026/0.05676, allocations: 2.854 MB / 357.6 MB, free: 3.656 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.05676, allocations: 3.938 kB / 357.6 MB, free: 3.652 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00138/0.05814, allocations: 0.771 MB / 358.4 MB, free: 2.836 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002948/0.05843, allocations: 111.5 kB / 358.5 MB, free: 2.727 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.408e-05/0.05853, allocations: 12 kB / 358.5 MB, free: 2.715 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004045/0.05893, allocations: 27.98 kB / 358.6 MB, free: 2.688 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.687e-05/0.05902, allocations: 31.94 kB / 358.6 MB, free: 2.656 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.653e-05/0.05904, allocations: 12 kB / 358.6 MB, free: 2.645 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007242/0.05977, allocations: 0.5069 MB / 359.1 MB, free: 2.141 MB / 318.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.05977, allocations: 0 / 359.1 MB, free: 2.141 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009035/0.06067, allocations: 207.9 kB / 359.3 MB, free: 1.938 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,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.0002432/0.06092, allocations: 130 kB / 359.4 MB, free: 1.805 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001275/0.06219, allocations: 0.6514 MB / 360.1 MB, free: 1.129 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.0622, allocations: 7.984 kB / 360.1 MB, free: 1.121 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006702/0.06287, allocations: 430.4 kB / 360.5 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.06388, allocations: 210.9 kB / 360.7 MB, free: 488 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002825/0.0667, allocations: 1.62 MB / 362.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004306/0.06713, allocations: 425.6 kB / 362.8 MB, free: 14.36 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003045/0.06744, allocations: 94.69 kB / 362.9 MB, free: 14.26 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/0.06756, allocations: 56.44 kB / 362.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.06757, allocations: 0 / 362.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of Templates: time 0.02045/0.08801, allocations: 10.01 MB / 372.9 MB, free: 4.414 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.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: 4.615779135376215]