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.001798/0.001798, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.002298/0.002298, allocations: 204.1 kB / 24.47 MB, free: 4.023 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.557/1.557, allocations: 230.4 MB / 258.1 MB, free: 8.152 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.002769/0.002769, allocations: 67.83 kB / 378.7 MB, free: 2.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2641, allocations: 53.31 MB / 432.1 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.01068/0.2748, allocations: 8.174 MB / 440.2 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004706/0.2795, allocations: 2.676 MB / 442.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005605/0.28, allocations: 23.94 kB / 442.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001441/0.2815, allocations: 0.5754 MB / 443.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001171/0.2826, allocations: 0.4925 MB / 444 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005683/0.2832, allocations: 251.7 kB / 444.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001893/0.2851, allocations: 1.47 MB / 445.7 MB, free: 9.688 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007269/0.2858, allocations: 404.9 kB / 446.1 MB, free: 9.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000959/0.2868, allocations: 0.5681 MB / 446.7 MB, free: 8.699 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007936/0.2876, allocations: 0.5989 MB / 447.3 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001894/0.2878, allocations: 136 kB / 447.4 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003633/0.2881, allocations: 180 kB / 447.6 MB, free: 7.789 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002663/0.2884, allocations: 278.9 kB / 447.9 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006851/0.2891, allocations: 0.6648 MB / 448.5 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002057/0.2911, allocations: 1.728 MB / 450.2 MB, free: 5.113 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2911, allocations: 3.938 kB / 450.3 MB, free: 5.109 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2911, allocations: 0 / 450.3 MB, free: 5.109 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.643e-05/0.2912, allocations: 0 / 450.3 MB, free: 5.109 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.002706/0.2939, allocations: 1.483 MB / 451.7 MB, free: 3.574 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.739e-05/0.2939, allocations: 8.031 kB / 451.7 MB, free: 3.566 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006963/0.2946, allocations: 192 kB / 451.9 MB, free: 3.379 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001303/0.2959, allocations: 0.7539 MB / 452.7 MB, free: 2.578 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.305e-05/0.296, allocations: 74 kB / 452.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001537/0.2961, allocations: 103.9 kB / 452.9 MB, free: 2.406 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/0.2978, allocations: 0.9347 MB / 453.8 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.404e-05/0.2978, allocations: 3.938 kB / 453.8 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.2979, allocations: 44 kB / 453.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.356e-05/0.2979, allocations: 24 kB / 453.9 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.2992, allocations: 0.6286 MB / 454.5 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005356/0.3046, allocations: 3.893 MB / 458.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006994/0.3053, allocations: 420.6 kB / 458.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005891/0.3059, allocations: 249.4 kB / 459 MB, free: 11.94 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.306e-05/0.3059, allocations: 8.328 kB / 459 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.3059, allocations: 38.89 kB / 459.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 2.615e-06/0.3059, allocations: 0 / 459.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002733/0.3087, allocations: 1.407 MB / 460.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.117e-05/0.3087, allocations: 81.11 kB / 460.6 MB, free: 10.31 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001252/0.31, allocations: 0.8292 MB / 461.4 MB, free: 9.469 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.255e-05/0.31, allocations: 33.7 kB / 461.4 MB, free: 9.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005098/0.3105, allocations: 0.5658 MB / 462 MB, free: 8.855 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/0.3107, allocations: 170.6 kB / 462.2 MB, free: 8.688 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000201/0.3109, allocations: 130.6 kB / 462.3 MB, free: 8.555 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.3111, allocations: 334 kB / 462.6 MB, free: 8.223 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003525/0.3114, allocations: 161.9 kB / 462.8 MB, free: 8.062 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006376/0.3121, allocations: 467.9 kB / 463.2 MB, free: 7.469 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.3132, allocations: 0.67 MB / 463.9 MB, free: 6.664 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.3132, allocations: 4 kB / 463.9 MB, free: 6.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001492/0.3147, allocations: 0.767 MB / 464.7 MB, free: 5.883 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.179e-05/0.3147, allocations: 8 kB / 464.7 MB, free: 5.875 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/0.3147, allocations: 12.38 kB / 464.7 MB, free: 5.863 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003061/0.315, allocations: 85.61 kB / 464.8 MB, free: 5.773 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005078/0.3155, allocations: 151.7 kB / 464.9 MB, free: 5.625 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002826/0.3184, allocations: 3.147 MB / 468.1 MB, free: 2.199 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005736/0.3189, allocations: 35.94 kB / 468.1 MB, free: 2.164 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.696e-05/0.319, allocations: 32 kB / 468.1 MB, free: 2.133 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.0004654/0.3194, allocations: 265.8 kB / 468.4 MB, free: 1.863 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/0.3196, allocations: 91.44 kB / 468.5 MB, free: 1.773 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000975/0.3206, allocations: 499.4 kB / 469 MB, free: 1.273 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.3206, allocations: 8 kB / 469 MB, free: 1.266 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.3206, allocations: 0 / 469 MB, free: 1.266 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.3206, allocations: 3.984 kB / 469 MB, free: 1.262 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002162/0.3227, allocations: 1.435 MB / 470.4 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.3227, allocations: 4.109 kB / 470.4 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002972/0.323, allocations: 71.91 kB / 470.5 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002029/0.3232, allocations: 81.83 kB / 470.6 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.555e-05/0.3233, allocations: 8 kB / 470.6 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002522/0.3258, allocations: 3.123 MB / 473.7 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3258, allocations: 0 / 473.7 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.3271, allocations: 0.7743 MB / 474.5 MB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002787/0.3273, allocations: 200.5 kB / 474.7 MB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.771e-05/0.3274, allocations: 16.06 kB / 474.7 MB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004081/0.3279, allocations: 31.97 kB / 474.7 MB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.091e-05/0.3279, allocations: 35.95 kB / 474.8 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.329e-05/0.3279, allocations: 12 kB / 474.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007806/0.3287, allocations: 0.5615 MB / 475.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3287, allocations: 0 / 475.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008141/0.3295, allocations: 207.9 kB / 475.5 MB, free: 10.28 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.0002153/0.3298, allocations: 131.3 kB / 475.7 MB, free: 10.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001163/0.3309, allocations: 0.66 MB / 476.3 MB, free: 9.461 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.3309, allocations: 4 kB / 476.3 MB, free: 9.457 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006533/0.3316, allocations: 433.6 kB / 476.8 MB, free: 9.008 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.3326, allocations: 225.5 kB / 477 MB, free: 8.797 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00279/0.3354, allocations: 1.743 MB / 478.7 MB, free: 7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006491/0.336, allocations: 1.009 MB / 479.7 MB, free: 5.965 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000325/0.3364, allocations: 103.2 kB / 479.8 MB, free: 5.859 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.3365, allocations: 55.44 kB / 479.9 MB, free: 5.805 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3365, allocations: 0 / 479.9 MB, free: 5.805 MB / 382.1 MB Notification: Performance of Templates: time 0.02075/0.3572, allocations: 11.01 MB / 490.9 MB, free: 10.92 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 -s cvode -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_2/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_2/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: 5.115771588403732]