Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008413/0.0008413, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003657/0.003657, allocations: 157.7 kB / 24.7 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8332/0.8332, allocations: 177 MB / 204.9 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.151e-05/3.283e-05, allocations: 2.281 kB / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.006005/0.006037, allocations: 7.17 MB / 333 MB, free: 8.172 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002614/0.008651, allocations: 2.49 MB / 335.4 MB, free: 5.676 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003842/0.009036, allocations: 27.88 kB / 335.5 MB, free: 5.648 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008871/0.009923, allocations: 0.5246 MB / 336 MB, free: 5.121 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005939/0.01052, allocations: 0.5232 MB / 336.5 MB, free: 4.594 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002897/0.01081, allocations: 247.7 kB / 336.8 MB, free: 4.352 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009325/0.01174, allocations: 1.54 MB / 338.3 MB, free: 2.805 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004461/0.01218, allocations: 379.1 kB / 338.7 MB, free: 2.414 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007096/0.01289, allocations: 0.8612 MB / 339.5 MB, free: 1.551 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006095/0.0135, allocations: 442.6 kB / 340 MB, free: 1.113 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001103/0.01361, allocations: 144 kB / 340.1 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002025/0.01382, allocations: 168 kB / 340.3 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.01395, allocations: 290.9 kB / 340.6 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002728/0.01422, allocations: 458.9 kB / 341 MB, free: 76 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001179/0.0154, allocations: 1.725 MB / 342.7 MB, free: 14.34 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.0154, allocations: 3.984 kB / 342.7 MB, free: 14.34 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.0154, allocations: 0 / 342.7 MB, free: 14.34 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.01542, allocations: 3.938 kB / 342.7 MB, free: 14.34 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.001441/0.01686, allocations: 1.384 MB / 344.1 MB, free: 12.91 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.0169, allocations: 15.98 kB / 344.1 MB, free: 12.9 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003451/0.01724, allocations: 192 kB / 344.3 MB, free: 12.71 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008074/0.01805, allocations: 0.6845 MB / 345 MB, free: 12 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.754e-05/0.01809, allocations: 70 kB / 345.1 MB, free: 11.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.793e-05/0.01817, allocations: 104 kB / 345.2 MB, free: 11.83 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009932/0.01917, allocations: 1.035 MB / 346.2 MB, free: 10.75 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.865e-05/0.0192, allocations: 0 / 346.2 MB, free: 10.75 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.451e-05/0.01925, allocations: 44 kB / 346.3 MB, free: 10.7 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.522e-05/0.01927, allocations: 27.94 kB / 346.3 MB, free: 10.68 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000752/0.02002, allocations: 0.6325 MB / 346.9 MB, free: 10.04 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003038/0.02306, allocations: 3.339 MB / 350.3 MB, free: 6.504 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004257/0.02348, allocations: 351.5 kB / 350.6 MB, free: 6.152 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003408/0.02382, allocations: 253.4 kB / 350.8 MB, free: 5.902 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.02385, allocations: 4.328 kB / 350.8 MB, free: 5.898 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.02387, allocations: 38.89 kB / 350.9 MB, free: 5.852 MB / 314.7 MB Notification: Performance of pre-optimization done (n=40): time 2.014e-06/0.02387, allocations: 0 / 350.9 MB, free: 5.852 MB / 314.7 MB Notification: Performance of matching and sorting (n=44): time 0.001592/0.02546, allocations: 1.253 MB / 352.1 MB, free: 4.562 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.376e-05/0.02553, allocations: 85.11 kB / 352.2 MB, free: 4.461 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006916/0.02622, allocations: 0.762 MB / 353 MB, free: 3.688 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.02624, allocations: 33.64 kB / 353 MB, free: 3.648 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002661/0.02651, allocations: 0.5813 MB / 353.6 MB, free: 3.059 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.784e-05/0.02658, allocations: 162.7 kB / 353.8 MB, free: 2.898 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.0267, allocations: 138.6 kB / 353.9 MB, free: 2.758 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002355/0.02693, allocations: 382.8 kB / 354.3 MB, free: 2.375 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/0.02713, allocations: 161.9 kB / 354.4 MB, free: 2.215 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003326/0.02746, allocations: 485.7 kB / 354.9 MB, free: 1.598 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005764/0.02804, allocations: 0.6622 MB / 355.6 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.02804, allocations: 8 kB / 355.6 MB, free: 0.793 MB / 314.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0007719/0.02881, allocations: 0.7593 MB / 356.3 MB, free: 24 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.02884, allocations: 11.28 kB / 356.3 MB, free: 16 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.02885, allocations: 12 kB / 356.3 MB, free: 4 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002086/0.02906, allocations: 85.67 kB / 356.4 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000257/0.02931, allocations: 152 kB / 356.6 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0015/0.03081, allocations: 2.874 MB / 359.5 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002417/0.03105, allocations: 39.94 kB / 359.5 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.928e-05/0.03108, allocations: 32.12 kB / 359.5 MB, free: 12.61 MB / 330.7 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.0002424/0.03133, allocations: 257.5 kB / 359.8 MB, free: 12.35 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.917e-05/0.0314, allocations: 83.48 kB / 359.9 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005547/0.03195, allocations: 490.6 kB / 360.3 MB, free: 11.78 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.03195, allocations: 4 kB / 360.3 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.03196, allocations: 4 kB / 360.3 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.03197, allocations: 11.86 kB / 360.4 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001479/0.03344, allocations: 1.193 MB / 361.5 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.03345, allocations: 0 / 361.5 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.03361, allocations: 71.84 kB / 361.6 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001282/0.03373, allocations: 77.89 kB / 361.7 MB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.03375, allocations: 8 kB / 361.7 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001345/0.0351, allocations: 2.863 MB / 364.6 MB, free: 7.273 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.0351, allocations: 3.938 kB / 364.6 MB, free: 7.27 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007178/0.03582, allocations: 0.7636 MB / 365.3 MB, free: 6.461 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001468/0.03596, allocations: 115.5 kB / 365.4 MB, free: 6.348 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.321e-05/0.03601, allocations: 8 kB / 365.5 MB, free: 6.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.03619, allocations: 27.98 kB / 365.5 MB, free: 6.312 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.933e-05/0.03625, allocations: 35.88 kB / 365.5 MB, free: 6.277 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.03627, allocations: 12 kB / 365.5 MB, free: 6.266 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004255/0.03669, allocations: 0.5108 MB / 366 MB, free: 5.758 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03669, allocations: 0 / 366 MB, free: 5.758 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005223/0.03722, allocations: 207.9 kB / 366.2 MB, free: 5.555 MB / 330.7 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.0002004/0.03742, allocations: 115.2 kB / 366.4 MB, free: 5.434 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000723/0.03814, allocations: 0.6669 MB / 367 MB, free: 4.742 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.03814, allocations: 4 kB / 367 MB, free: 4.738 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003581/0.0385, allocations: 429 kB / 367.4 MB, free: 4.293 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005961/0.03909, allocations: 201.4 kB / 367.6 MB, free: 4.105 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/0.04119, allocations: 1.67 MB / 369.3 MB, free: 2.379 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.04146, allocations: 417.7 kB / 369.7 MB, free: 1.941 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.425e-05/0.04155, allocations: 56.5 kB / 369.8 MB, free: 1.887 MB / 330.7 MB Notification: Performance of SimCode: time 7.92e-07/0.04155, allocations: 0 / 369.8 MB, free: 1.887 MB / 330.7 MB Notification: Performance of Templates: time 0.01444/0.05599, allocations: 20.97 MB / 390.7 MB, free: 12.94 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 5.421039248816669]