Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.008517/0.008517, allocations: 105.8 kB / 21.98 MB, free: 5.223 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.002049/0.002049, allocations: 212.6 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.442/1.442, allocations: 230.6 MB / 259 MB, free: 8.062 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002176/0.002176, allocations: 63.89 kB / 379.8 MB, free: 2.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2507, allocations: 53.36 MB / 433.2 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.01063/0.2613, allocations: 8.173 MB / 441.3 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005051/0.2663, allocations: 2.684 MB / 444 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009199/0.2673, allocations: 27.88 kB / 444.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001724/0.269, allocations: 0.5715 MB / 444.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001394/0.2704, allocations: 0.4925 MB / 445.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005506/0.2709, allocations: 251.7 kB / 445.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00186/0.2728, allocations: 1.478 MB / 446.8 MB, free: 9.246 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007071/0.2735, allocations: 407.2 kB / 447.2 MB, free: 8.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009084/0.2744, allocations: 0.5798 MB / 447.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007849/0.2752, allocations: 0.5988 MB / 448.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000183/0.2754, allocations: 136 kB / 448.6 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003317/0.2757, allocations: 176 kB / 448.7 MB, free: 7.332 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000241/0.2759, allocations: 286.9 kB / 449 MB, free: 7.051 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006345/0.2766, allocations: 0.6532 MB / 449.7 MB, free: 6.395 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002103/0.2787, allocations: 1.737 MB / 451.4 MB, free: 4.656 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.2787, allocations: 0 / 451.4 MB, free: 4.656 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2787, allocations: 0 / 451.4 MB, free: 4.656 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.429e-05/0.2787, allocations: 4 kB / 451.4 MB, free: 4.652 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002544/0.2813, allocations: 1.4 MB / 452.8 MB, free: 3.219 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.2813, allocations: 8.031 kB / 452.8 MB, free: 3.211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006828/0.282, allocations: 200 kB / 453 MB, free: 3.016 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001316/0.2833, allocations: 0.6689 MB / 453.7 MB, free: 2.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.135e-05/0.2834, allocations: 74 kB / 453.7 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001378/0.2835, allocations: 99.95 kB / 453.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001628/0.2851, allocations: 0.9386 MB / 454.8 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.1e-05/0.2852, allocations: 0 / 454.8 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.873e-05/0.2852, allocations: 44 kB / 454.8 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.839e-05/0.2853, allocations: 24 kB / 454.8 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/0.2865, allocations: 0.6363 MB / 455.5 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005325/0.2918, allocations: 3.79 MB / 459.3 MB, free: 12.47 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006742/0.2925, allocations: 351.4 kB / 459.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005562/0.2931, allocations: 245.3 kB / 459.9 MB, free: 11.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.602e-05/0.2931, allocations: 8.312 kB / 459.9 MB, free: 11.87 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.427e-05/0.2931, allocations: 38.89 kB / 459.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 2.565e-06/0.2932, allocations: 3.938 kB / 459.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002605/0.2958, allocations: 1.264 MB / 461.2 MB, free: 10.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/0.2958, allocations: 81.11 kB / 461.3 MB, free: 10.42 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/0.297, allocations: 0.8331 MB / 462.1 MB, free: 9.578 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.269e-05/0.297, allocations: 29.7 kB / 462.1 MB, free: 9.543 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004223/0.2974, allocations: 0.5735 MB / 462.7 MB, free: 8.961 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.2975, allocations: 162.6 kB / 462.8 MB, free: 8.801 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001759/0.2977, allocations: 130.6 kB / 463 MB, free: 8.668 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.2979, allocations: 337.9 kB / 463.3 MB, free: 8.332 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003388/0.2982, allocations: 161.9 kB / 463.5 MB, free: 8.172 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005837/0.2988, allocations: 464 kB / 463.9 MB, free: 7.586 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009291/0.2997, allocations: 0.6622 MB / 464.6 MB, free: 6.789 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.2997, allocations: 4 kB / 464.6 MB, free: 6.785 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001355/0.3011, allocations: 0.7712 MB / 465.4 MB, free: 6.004 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.3011, allocations: 10.5 kB / 465.4 MB, free: 5.996 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.3011, allocations: 12 kB / 465.4 MB, free: 5.984 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002711/0.3014, allocations: 85.61 kB / 465.5 MB, free: 5.895 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004918/0.3019, allocations: 147.8 kB / 465.6 MB, free: 5.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002723/0.3046, allocations: 2.931 MB / 468.5 MB, free: 2.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006343/0.3053, allocations: 39.88 kB / 468.6 MB, free: 2.551 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-05/0.3053, allocations: 36 kB / 468.6 MB, free: 2.516 MB / 366.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.0004214/0.3057, allocations: 261.5 kB / 468.9 MB, free: 2.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.3059, allocations: 91.44 kB / 469 MB, free: 2.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009454/0.3068, allocations: 499.5 kB / 469.4 MB, free: 1.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.3068, allocations: 4 kB / 469.4 MB, free: 1.656 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.3068, allocations: 4 kB / 469.4 MB, free: 1.652 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.3068, allocations: 0 / 469.4 MB, free: 1.652 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00219/0.309, allocations: 1.407 MB / 470.9 MB, free: 172 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.309, allocations: 0 / 470.9 MB, free: 172 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002987/0.3093, allocations: 71.91 kB / 470.9 MB, free: 100 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002225/0.3095, allocations: 73.89 kB / 471 MB, free: 20 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.769e-05/0.3096, allocations: 12.05 kB / 471 MB, free: 8 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00255/0.3121, allocations: 2.916 MB / 473.9 MB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3121, allocations: 3.938 kB / 473.9 MB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001379/0.3135, allocations: 0.7745 MB / 474.7 MB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003384/0.3138, allocations: 123.4 kB / 474.8 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.453e-05/0.3139, allocations: 15.94 kB / 474.8 MB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004082/0.3143, allocations: 31.97 kB / 474.9 MB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.253e-05/0.3144, allocations: 35.88 kB / 474.9 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.567e-05/0.3144, allocations: 16 kB / 474.9 MB, free: 11.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008366/0.3153, allocations: 0.5615 MB / 475.5 MB, free: 11.26 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3153, allocations: 0 / 475.5 MB, free: 11.26 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008463/0.3161, allocations: 207.9 kB / 475.7 MB, free: 11.06 MB / 382.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.0002206/0.3163, allocations: 126.2 kB / 475.8 MB, free: 10.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001237/0.3176, allocations: 0.6713 MB / 476.5 MB, free: 10.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3176, allocations: 0 / 476.5 MB, free: 10.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006414/0.3182, allocations: 433.7 kB / 476.9 MB, free: 9.785 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009735/0.3192, allocations: 224.4 kB / 477.1 MB, free: 9.574 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002959/0.3222, allocations: 1.789 MB / 478.9 MB, free: 7.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006551/0.3228, allocations: 0.9969 MB / 479.9 MB, free: 6.707 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000162/0.323, allocations: 67.36 kB / 480 MB, free: 6.641 MB / 382.1 MB Notification: Performance of SimCode: time 8.62e-07/0.323, allocations: 0 / 480 MB, free: 6.641 MB / 382.1 MB Notification: Performance of Templates: time 0.0264/0.3494, allocations: 21.04 MB / 0.4893 GB, free: 1.641 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 9.11028981092386]