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.001879/0.001879, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.002384/0.002384, allocations: 217 kB / 24.5 MB, free: 4.133 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.463/1.463, allocations: 230.5 MB / 258.1 MB, free: 8.008 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.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 0.002083/0.002083, allocations: 59.91 kB / 379 MB, free: 2.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2426, allocations: 53.41 MB / 432.4 MB, free: 6.766 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.009957/0.2525, allocations: 8.176 MB / 440.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004786/0.2573, allocations: 2.68 MB / 443.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008705/0.2582, allocations: 27.88 kB / 443.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001687/0.2599, allocations: 0.5715 MB / 443.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00139/0.2613, allocations: 0.4925 MB / 444.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000542/0.2618, allocations: 255.7 kB / 444.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001828/0.2636, allocations: 1.475 MB / 446.1 MB, free: 9.035 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006829/0.2643, allocations: 409.9 kB / 446.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009281/0.2653, allocations: 0.5798 MB / 447.1 MB, free: 8.027 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007695/0.266, allocations: 0.5911 MB / 447.7 MB, free: 7.434 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001694/0.2662, allocations: 140 kB / 447.8 MB, free: 7.297 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003425/0.2665, allocations: 180 kB / 448 MB, free: 7.121 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002245/0.2668, allocations: 279 kB / 448.3 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006374/0.2674, allocations: 0.657 MB / 448.9 MB, free: 6.188 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002077/0.2695, allocations: 1.735 MB / 450.7 MB, free: 4.449 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.2695, allocations: 0 / 450.7 MB, free: 4.449 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.616e-06/0.2695, allocations: 4 kB / 450.7 MB, free: 4.445 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.518e-05/0.2695, allocations: 0 / 450.7 MB, free: 4.445 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.002795/0.2723, allocations: 1.4 MB / 452.1 MB, free: 3.012 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.2724, allocations: 8.031 kB / 452.1 MB, free: 3.004 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007102/0.2731, allocations: 196 kB / 452.3 MB, free: 2.812 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/0.2744, allocations: 0.6767 MB / 452.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.253e-05/0.2745, allocations: 74 kB / 453 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/0.2746, allocations: 99.95 kB / 453.1 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001634/0.2763, allocations: 0.9308 MB / 454 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.653e-05/0.2763, allocations: 7.984 kB / 454.1 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.941e-05/0.2764, allocations: 43.94 kB / 454.1 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.328e-05/0.2764, allocations: 24 kB / 454.1 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001276/0.2777, allocations: 0.6363 MB / 454.8 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005547/0.2832, allocations: 3.782 MB / 458.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006516/0.2839, allocations: 342.4 kB / 458.9 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005624/0.2844, allocations: 254 kB / 459.1 MB, free: 11.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.757e-05/0.2845, allocations: 8.312 kB / 459.1 MB, free: 11.67 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.121e-05/0.2845, allocations: 38.88 kB / 459.2 MB, free: 11.62 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 2.154e-06/0.2845, allocations: 4 kB / 459.2 MB, free: 11.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002687/0.2872, allocations: 1.257 MB / 460.4 MB, free: 10.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.825e-05/0.2873, allocations: 85.09 kB / 460.5 MB, free: 10.22 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.2884, allocations: 0.8253 MB / 461.3 MB, free: 9.387 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/0.2884, allocations: 33.7 kB / 461.4 MB, free: 9.348 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004585/0.2889, allocations: 0.5696 MB / 461.9 MB, free: 8.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/0.289, allocations: 166.6 kB / 462.1 MB, free: 8.605 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001799/0.2892, allocations: 138.5 kB / 462.2 MB, free: 8.465 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.2893, allocations: 330 kB / 462.6 MB, free: 8.137 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003403/0.2897, allocations: 173.9 kB / 462.7 MB, free: 7.965 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005599/0.2902, allocations: 452 kB / 463.2 MB, free: 7.391 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009408/0.2912, allocations: 0.6661 MB / 463.8 MB, free: 6.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.2912, allocations: 4 kB / 463.8 MB, free: 6.586 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001334/0.2925, allocations: 0.771 MB / 464.6 MB, free: 5.805 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.2925, allocations: 8 kB / 464.6 MB, free: 5.797 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/0.2926, allocations: 12 kB / 464.6 MB, free: 5.785 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000273/0.2928, allocations: 89.8 kB / 464.7 MB, free: 5.691 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004952/0.2933, allocations: 151.8 kB / 464.9 MB, free: 5.543 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002612/0.2959, allocations: 2.928 MB / 467.8 MB, free: 2.387 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005962/0.2965, allocations: 40 kB / 467.8 MB, free: 2.348 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-05/0.2966, allocations: 36 kB / 467.9 MB, free: 2.312 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.0004032/0.297, allocations: 261.5 kB / 468.1 MB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.2971, allocations: 87.44 kB / 468.2 MB, free: 1.961 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009599/0.2981, allocations: 495.1 kB / 468.7 MB, free: 1.465 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.2981, allocations: 4 kB / 468.7 MB, free: 1.461 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2981, allocations: 3.984 kB / 468.7 MB, free: 1.457 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.2981, allocations: 0 / 468.7 MB, free: 1.457 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002237/0.3003, allocations: 1.415 MB / 470.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/0.3003, allocations: 4 kB / 470.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000322/0.3007, allocations: 67.91 kB / 470.2 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002236/0.3009, allocations: 69.67 kB / 470.3 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.856e-05/0.3009, allocations: 12 kB / 470.3 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00255/0.3035, allocations: 2.919 MB / 473.2 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.3035, allocations: 7.969 kB / 473.2 MB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001397/0.3049, allocations: 0.7709 MB / 474 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003337/0.3052, allocations: 123.4 kB / 474.1 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.935e-05/0.3053, allocations: 15.94 kB / 474.1 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004162/0.3057, allocations: 23.97 kB / 474.1 MB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.16e-05/0.3058, allocations: 39.88 kB / 474.2 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-05/0.3058, allocations: 16 kB / 474.2 MB, free: 11.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008517/0.3067, allocations: 0.5654 MB / 474.7 MB, free: 11.06 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3067, allocations: 0 / 474.7 MB, free: 11.06 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009128/0.3076, allocations: 204 kB / 474.9 MB, free: 10.86 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.000263/0.3079, allocations: 123.1 kB / 475.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001281/0.3091, allocations: 0.6663 MB / 475.7 MB, free: 10.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.3091, allocations: 3.984 kB / 475.7 MB, free: 10.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006494/0.3098, allocations: 426.4 kB / 476.2 MB, free: 9.594 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000993/0.3108, allocations: 245.4 kB / 476.4 MB, free: 9.367 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003147/0.3139, allocations: 1.781 MB / 478.2 MB, free: 7.527 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006702/0.3146, allocations: 1.001 MB / 479.2 MB, free: 6.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000171/0.3148, allocations: 63.42 kB / 479.2 MB, free: 6.438 MB / 382.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3148, allocations: 0 / 479.2 MB, free: 6.438 MB / 382.1 MB Notification: Performance of Templates: time 0.02766/0.3424, allocations: 21.04 MB / 0.4886 GB, free: 1.426 MB / 398.1 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/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_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: 9.659763648873195]