Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.001555/0.001555, allocations: 105.4 kB / 19.8 MB, free: 2.516 MB / 14.72 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.002355/0.002355, allocations: 215.3 kB / 23 MB, free: 5.609 MB / 14.72 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 1.507/1.507, allocations: 230.2 MB / 256.2 MB, free: 8.516 MB / 206.1 MB " [Timeout remaining time 178] 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.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 63.89 kB / 376.5 MB, free: 3.594 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.27, allocations: 53.33 MB / 429.8 MB, free: 7.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.009712/0.2797, allocations: 8.069 MB / 437.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004491/0.2842, allocations: 2.645 MB / 440.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005167/0.2847, allocations: 23.94 kB / 440.5 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001266/0.286, allocations: 0.5676 MB / 441.1 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009472/0.2869, allocations: 492.4 kB / 441.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004332/0.2874, allocations: 239.7 kB / 441.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001413/0.2888, allocations: 1.432 MB / 443.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006227/0.2894, allocations: 406.8 kB / 443.7 MB, free: 9.609 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007397/0.2901, allocations: 0.5486 MB / 444.2 MB, free: 9.059 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006509/0.2908, allocations: 0.5872 MB / 444.8 MB, free: 8.469 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001558/0.2909, allocations: 136 kB / 444.9 MB, free: 8.336 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002963/0.2912, allocations: 179.9 kB / 445.1 MB, free: 8.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00021/0.2914, allocations: 271 kB / 445.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005941/0.292, allocations: 0.6415 MB / 446 MB, free: 7.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001963/0.294, allocations: 1.712 MB / 447.7 MB, free: 5.531 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.294, allocations: 0 / 447.7 MB, free: 5.531 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.294, allocations: 0 / 447.7 MB, free: 5.531 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.639e-05/0.294, allocations: 0 / 447.7 MB, free: 5.531 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002324/0.2963, allocations: 1.455 MB / 449.2 MB, free: 4.023 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.2964, allocations: 12.03 kB / 449.2 MB, free: 4.012 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005487/0.2969, allocations: 180 kB / 449.4 MB, free: 3.836 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.2981, allocations: 0.7307 MB / 450.1 MB, free: 3.062 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.226e-05/0.2982, allocations: 77.94 kB / 450.2 MB, free: 2.988 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001352/0.2983, allocations: 95.95 kB / 450.3 MB, free: 2.895 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001746/0.3001, allocations: 0.9229 MB / 451.2 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.863e-05/0.3001, allocations: 8 kB / 451.2 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.171e-05/0.3002, allocations: 40 kB / 451.2 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.424e-05/0.3002, allocations: 24 kB / 451.3 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001215/0.3014, allocations: 0.6207 MB / 451.9 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005254/0.3067, allocations: 3.879 MB / 455.8 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006146/0.3073, allocations: 339.7 kB / 456.1 MB, free: 12.78 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003008/0.3076, allocations: 136.7 kB / 456.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.016e-05/0.3076, allocations: 4 kB / 456.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/0.3077, allocations: 38.56 kB / 456.3 MB, free: 12.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 1.613e-06/0.3077, allocations: 0 / 456.3 MB, free: 12.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.002371/0.3101, allocations: 1.216 MB / 457.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.157e-05/0.3101, allocations: 89.09 kB / 457.6 MB, free: 11.2 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/0.3113, allocations: 0.8215 MB / 458.4 MB, free: 10.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.027e-05/0.3113, allocations: 33.7 kB / 458.4 MB, free: 10.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004715/0.3118, allocations: 0.5811 MB / 459 MB, free: 9.734 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.3119, allocations: 130.9 kB / 459.1 MB, free: 9.605 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001748/0.312, allocations: 130.6 kB / 459.3 MB, free: 9.473 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.3122, allocations: 326 kB / 459.6 MB, free: 9.148 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003333/0.3125, allocations: 153.9 kB / 459.7 MB, free: 9 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005768/0.3131, allocations: 460 kB / 460.2 MB, free: 8.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008877/0.314, allocations: 0.6359 MB / 460.8 MB, free: 7.633 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.314, allocations: 0 / 460.8 MB, free: 7.633 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001343/0.3153, allocations: 0.6964 MB / 461.5 MB, free: 6.926 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.307e-05/0.3154, allocations: 8 kB / 461.5 MB, free: 6.918 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/0.3154, allocations: 12 kB / 461.5 MB, free: 6.906 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001817/0.3156, allocations: 33.41 kB / 461.6 MB, free: 6.871 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004905/0.3161, allocations: 167.6 kB / 461.7 MB, free: 6.707 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001345/0.3174, allocations: 1.39 MB / 463.1 MB, free: 5.172 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005073/0.3179, allocations: 35.98 kB / 463.1 MB, free: 5.137 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.71e-05/0.318, allocations: 36 kB / 463.2 MB, free: 5.102 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003841/0.3184, allocations: 253.6 kB / 463.4 MB, free: 4.844 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.3185, allocations: 95.38 kB / 463.5 MB, free: 4.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007691/0.3193, allocations: 382.2 kB / 463.9 MB, free: 4.367 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.3193, allocations: 4 kB / 463.9 MB, free: 4.363 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.3193, allocations: 0 / 463.9 MB, free: 4.363 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.3193, allocations: 0 / 463.9 MB, free: 4.363 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001955/0.3212, allocations: 1.262 MB / 465.2 MB, free: 3.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.3212, allocations: 224 / 465.2 MB, free: 3.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003183/0.3215, allocations: 83.83 kB / 465.2 MB, free: 2.938 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.634e-05/0.3216, allocations: 20.86 kB / 465.3 MB, free: 2.914 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.774e-05/0.3217, allocations: 15.98 kB / 465.3 MB, free: 2.898 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001086/0.3227, allocations: 1.367 MB / 466.6 MB, free: 1.391 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3227, allocations: 0 / 466.6 MB, free: 1.391 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.3238, allocations: 0.637 MB / 467.3 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002498/0.3241, allocations: 188.5 kB / 467.5 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.974e-05/0.3241, allocations: 15.98 kB / 467.5 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000366/0.3245, allocations: 23.92 kB / 467.5 MB, free: 480 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.133e-05/0.3246, allocations: 27.91 kB / 467.5 MB, free: 452 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/0.3246, allocations: 16 kB / 467.5 MB, free: 436 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000794/0.3254, allocations: 0.5615 MB / 468.1 MB, free: 15.87 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3254, allocations: 0 / 468.1 MB, free: 15.87 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007471/0.3261, allocations: 191.9 kB / 468.3 MB, free: 15.68 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,loadInertia.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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.000239/0.3264, allocations: 119.2 kB / 468.4 MB, free: 15.55 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00107/0.3275, allocations: 0.5 MB / 468.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3275, allocations: 0 / 468.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004255/0.3279, allocations: 259.7 kB / 469.2 MB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009832/0.3289, allocations: 227.6 kB / 469.4 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002912/0.3318, allocations: 1.72 MB / 471.1 MB, free: 12.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006364/0.3324, allocations: 0.9962 MB / 472.1 MB, free: 11.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003259/0.3327, allocations: 98.83 kB / 472.2 MB, free: 11.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.3329, allocations: 63.41 kB / 472.3 MB, free: 11.6 MB / 382.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3329, allocations: 0 / 472.3 MB, free: 11.6 MB / 382.1 MB Notification: Performance of Templates: time 0.01903/0.3519, allocations: 9.916 MB / 482.2 MB, free: 1.793 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.968119441531599]