Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.394/1.394, allocations: 230.6 MB / 258.3 MB, free: 8 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 47.92 kB / 379 MB, free: 2.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2534, allocations: 53.37 MB / 432.4 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.0103/0.2637, allocations: 8.062 MB / 440.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004784/0.2685, allocations: 2.645 MB / 443.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009219/0.2694, allocations: 27.88 kB / 443.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001771/0.2712, allocations: 0.579 MB / 443.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001518/0.2727, allocations: 488.4 kB / 444.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006574/0.2734, allocations: 239.7 kB / 444.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002012/0.2754, allocations: 1.432 MB / 445.9 MB, free: 9.426 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007476/0.2761, allocations: 407.3 kB / 446.3 MB, free: 9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009129/0.277, allocations: 0.5681 MB / 446.8 MB, free: 8.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009289/0.278, allocations: 0.5794 MB / 447.4 MB, free: 7.848 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002437/0.2782, allocations: 136 kB / 447.5 MB, free: 7.715 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000441/0.2786, allocations: 176 kB / 447.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000258/0.2789, allocations: 274.9 kB / 448 MB, free: 7.273 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007491/0.2796, allocations: 0.6532 MB / 448.6 MB, free: 6.617 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002036/0.2817, allocations: 1.696 MB / 450.3 MB, free: 4.914 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.2817, allocations: 8 kB / 450.3 MB, free: 4.906 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.2817, allocations: 4 kB / 450.3 MB, free: 4.902 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.233e-05/0.2817, allocations: 0 / 450.3 MB, free: 4.902 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.002403/0.2841, allocations: 1.384 MB / 451.7 MB, free: 3.484 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.2842, allocations: 8.031 kB / 451.7 MB, free: 3.477 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005494/0.2847, allocations: 172.1 kB / 451.9 MB, free: 3.309 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/0.2859, allocations: 0.665 MB / 452.6 MB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.467e-05/0.286, allocations: 81.92 kB / 452.6 MB, free: 2.539 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/0.2861, allocations: 96 kB / 452.7 MB, free: 2.445 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001546/0.2877, allocations: 0.919 MB / 453.7 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.267e-05/0.2877, allocations: 7.953 kB / 453.7 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.41e-05/0.2878, allocations: 40 kB / 453.7 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.364e-05/0.2878, allocations: 24 kB / 453.7 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/0.289, allocations: 0.6246 MB / 454.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005053/0.2941, allocations: 3.772 MB / 458.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005811/0.2947, allocations: 260.1 kB / 458.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000285/0.2949, allocations: 140.7 kB / 458.5 MB, free: 12.4 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.238e-05/0.295, allocations: 7.938 kB / 458.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.295, allocations: 38.56 kB / 458.6 MB, free: 12.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.354e-06/0.295, allocations: 0 / 458.6 MB, free: 12.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.002207/0.2972, allocations: 1.047 MB / 459.6 MB, free: 11.26 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.2973, allocations: 81.11 kB / 459.7 MB, free: 11.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.2984, allocations: 0.8253 MB / 460.5 MB, free: 10.33 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.221e-05/0.2985, allocations: 33.7 kB / 460.5 MB, free: 10.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004477/0.2989, allocations: 0.585 MB / 461.1 MB, free: 9.695 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/0.299, allocations: 135 kB / 461.3 MB, free: 9.562 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001687/0.2992, allocations: 126.6 kB / 461.4 MB, free: 9.434 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.2993, allocations: 334 kB / 461.7 MB, free: 9.102 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000311/0.2996, allocations: 141.9 kB / 461.9 MB, free: 8.961 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000584/0.3002, allocations: 464 kB / 462.3 MB, free: 8.367 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009519/0.3012, allocations: 0.6434 MB / 462.9 MB, free: 7.582 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.3012, allocations: 4 kB / 463 MB, free: 7.578 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001292/0.3025, allocations: 0.6968 MB / 463.6 MB, free: 6.871 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.3025, allocations: 8 kB / 463.7 MB, free: 6.863 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.88e-05/0.3025, allocations: 12 kB / 463.7 MB, free: 6.852 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001596/0.3027, allocations: 36.78 kB / 463.7 MB, free: 6.812 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004944/0.3032, allocations: 159.7 kB / 463.9 MB, free: 6.656 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001252/0.3044, allocations: 1.291 MB / 465.1 MB, free: 5.254 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004987/0.3049, allocations: 40.12 kB / 465.2 MB, free: 5.215 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.365e-05/0.305, allocations: 36 kB / 465.2 MB, free: 5.18 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.0003981/0.3054, allocations: 253.8 kB / 465.5 MB, free: 4.922 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.3055, allocations: 95.38 kB / 465.6 MB, free: 4.828 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007456/0.3062, allocations: 378.3 kB / 465.9 MB, free: 4.441 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.3062, allocations: 4 kB / 465.9 MB, free: 4.438 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.3062, allocations: 0 / 465.9 MB, free: 4.438 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.3063, allocations: 3.984 kB / 465.9 MB, free: 4.434 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001996/0.3082, allocations: 1.239 MB / 467.2 MB, free: 3.121 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.3083, allocations: 3.938 kB / 467.2 MB, free: 3.117 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003145/0.3086, allocations: 75.83 kB / 467.3 MB, free: 3.043 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.115e-05/0.3087, allocations: 21.08 kB / 467.3 MB, free: 3.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/0.3087, allocations: 12 kB / 467.3 MB, free: 3.008 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001056/0.3097, allocations: 1.275 MB / 468.6 MB, free: 1.621 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.3097, allocations: 4 kB / 468.6 MB, free: 1.617 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.3108, allocations: 0.6284 MB / 469.2 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002983/0.3111, allocations: 115.4 kB / 469.3 MB, free: 0.832 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.693e-05/0.3112, allocations: 8 kB / 469.3 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003635/0.3115, allocations: 31.91 kB / 469.4 MB, free: 0.793 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.877e-05/0.3116, allocations: 27.95 kB / 469.4 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/0.3116, allocations: 12 kB / 469.4 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007884/0.3124, allocations: 0.5654 MB / 470 MB, free: 196 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3124, allocations: 0 / 470 MB, free: 196 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007009/0.3131, allocations: 188 kB / 470.1 MB, free: 8 kB / 366.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.0002316/0.3134, allocations: 129.9 kB / 470.3 MB, free: 15.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009898/0.3143, allocations: 500 kB / 470.8 MB, free: 15.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3143, allocations: 0.625 kB / 470.8 MB, free: 15.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004315/0.3148, allocations: 262.6 kB / 471 MB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009587/0.3157, allocations: 219.4 kB / 471.2 MB, free: 14.9 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003044/0.3188, allocations: 1.755 MB / 473 MB, free: 13.08 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007147/0.3195, allocations: 0.9923 MB / 474 MB, free: 12.06 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001516/0.3196, allocations: 59.38 kB / 474 MB, free: 12 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3196, allocations: 0 / 474 MB, free: 12 MB / 382.1 MB Notification: Performance of Templates: time 0.02219/0.3418, allocations: 15.91 MB / 489.9 MB, free: 12.13 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 8.28718727407977]