Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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.001777/0.001777, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002178/0.002178, allocations: 204.8 kB / 23.73 MB, free: 4.379 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.478/1.478, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_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_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 47.92 kB / 378.2 MB, free: 2.535 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2808, allocations: 53.36 MB / 431.6 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.01019/0.291, allocations: 7.154 MB / 438.7 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005555/0.2966, allocations: 2.501 MB / 441.2 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001409/0.298, allocations: 27.88 kB / 441.3 MB, free: 13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001936/0.2999, allocations: 0.5092 MB / 441.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001845/0.3018, allocations: 0.4964 MB / 442.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000726/0.3025, allocations: 251.7 kB / 442.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002351/0.3049, allocations: 1.471 MB / 444 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008549/0.3057, allocations: 399.3 kB / 444.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001279/0.307, allocations: 0.5837 MB / 445 MB, free: 9.258 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001285/0.3083, allocations: 0.595 MB / 445.6 MB, free: 8.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003855/0.3087, allocations: 147.9 kB / 445.7 MB, free: 8.516 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006969/0.3094, allocations: 176 kB / 445.9 MB, free: 8.344 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003763/0.3097, allocations: 271 kB / 446.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001087/0.3108, allocations: 0.5444 MB / 446.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002641/0.3135, allocations: 1.741 MB / 448.4 MB, free: 5.789 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3135, allocations: 0 / 448.4 MB, free: 5.789 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3135, allocations: 0 / 448.4 MB, free: 5.789 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.366e-05/0.3135, allocations: 0 / 448.4 MB, free: 5.789 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.003851/0.3174, allocations: 1.4 MB / 449.8 MB, free: 4.355 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.3174, allocations: 8.031 kB / 449.8 MB, free: 4.348 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008327/0.3183, allocations: 196 kB / 450 MB, free: 4.156 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001848/0.3201, allocations: 0.6806 MB / 450.7 MB, free: 3.449 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.7e-05/0.3202, allocations: 74 kB / 450.8 MB, free: 3.379 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000204/0.3204, allocations: 103.9 kB / 450.9 MB, free: 3.277 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001998/0.3224, allocations: 1.027 MB / 451.9 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.163e-05/0.3224, allocations: 7.984 kB / 451.9 MB, free: 2.188 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.764e-05/0.3225, allocations: 40 kB / 452 MB, free: 2.148 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.356e-05/0.3225, allocations: 27.94 kB / 452 MB, free: 2.121 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001566/0.3241, allocations: 0.6325 MB / 452.6 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006384/0.3305, allocations: 3.35 MB / 456 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007869/0.3313, allocations: 350 kB / 456.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006535/0.3319, allocations: 252.4 kB / 456.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.861e-05/0.332, allocations: 8.328 kB / 456.6 MB, free: 13.33 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.362e-05/0.332, allocations: 34.89 kB / 456.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 3.547e-06/0.332, allocations: 0 / 456.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002955/0.335, allocations: 1.26 MB / 457.9 MB, free: 11.99 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.074e-05/0.335, allocations: 85.11 kB / 457.9 MB, free: 11.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/0.3363, allocations: 0.7543 MB / 458.7 MB, free: 11.13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.959e-05/0.3363, allocations: 33.7 kB / 458.7 MB, free: 11.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004791/0.3368, allocations: 0.5813 MB / 459.3 MB, free: 10.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001716/0.337, allocations: 174.5 kB / 459.5 MB, free: 10.33 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000206/0.3372, allocations: 130.6 kB / 459.6 MB, free: 10.2 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002043/0.3374, allocations: 386.8 kB / 460 MB, free: 9.809 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003495/0.3377, allocations: 165.9 kB / 460.1 MB, free: 9.645 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006094/0.3383, allocations: 485.7 kB / 460.6 MB, free: 9.031 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009855/0.3393, allocations: 0.6622 MB / 461.3 MB, free: 8.234 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.3393, allocations: 0 / 461.3 MB, free: 8.234 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001481/0.3408, allocations: 0.771 MB / 462.1 MB, free: 7.453 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.3408, allocations: 8 kB / 462.1 MB, free: 7.445 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/0.3408, allocations: 8 kB / 462.1 MB, free: 7.438 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002941/0.3411, allocations: 81.67 kB / 462.1 MB, free: 7.352 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005211/0.3417, allocations: 152 kB / 462.3 MB, free: 7.203 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00277/0.3444, allocations: 2.882 MB / 465.2 MB, free: 4.117 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005715/0.345, allocations: 31.94 kB / 465.2 MB, free: 4.086 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.347e-05/0.3451, allocations: 39.94 kB / 465.2 MB, free: 4.047 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.0004217/0.3455, allocations: 253.6 kB / 465.5 MB, free: 3.789 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/0.3456, allocations: 87.42 kB / 465.6 MB, free: 3.703 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009739/0.3466, allocations: 490.6 kB / 466.1 MB, free: 3.207 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.3466, allocations: 11.88 kB / 466.1 MB, free: 3.195 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.3466, allocations: 0 / 466.1 MB, free: 3.195 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.3466, allocations: 7.984 kB / 466.1 MB, free: 3.188 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00215/0.3488, allocations: 1.189 MB / 467.3 MB, free: 1.934 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3488, allocations: 0 / 467.3 MB, free: 1.934 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003127/0.3491, allocations: 67.91 kB / 467.3 MB, free: 1.867 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002145/0.3493, allocations: 77.83 kB / 467.4 MB, free: 1.785 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.251e-05/0.3493, allocations: 12.12 kB / 467.4 MB, free: 1.773 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00268/0.352, allocations: 2.866 MB / 470.3 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.352, allocations: 0 / 470.3 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001353/0.3534, allocations: 0.7628 MB / 471.1 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003322/0.3537, allocations: 111.5 kB / 471.2 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/0.3538, allocations: 15.98 kB / 471.2 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003963/0.3542, allocations: 19.98 kB / 471.2 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.7e-05/0.3543, allocations: 43.88 kB / 471.2 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/0.3543, allocations: 8 kB / 471.2 MB, free: 13.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007423/0.3551, allocations: 0.5147 MB / 471.8 MB, free: 13.19 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3551, allocations: 0 / 471.8 MB, free: 13.19 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008959/0.356, allocations: 196 kB / 472 MB, free: 13 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.0002492/0.3562, allocations: 127.1 kB / 472.1 MB, free: 12.87 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001411/0.3576, allocations: 0.6677 MB / 472.7 MB, free: 12.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/0.3577, allocations: 8.109 kB / 472.8 MB, free: 12.17 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007957/0.3584, allocations: 432.8 kB / 473.2 MB, free: 11.72 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.3596, allocations: 208.1 kB / 473.4 MB, free: 11.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003354/0.363, allocations: 1.729 MB / 475.1 MB, free: 9.742 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005003/0.3635, allocations: 417.6 kB / 475.5 MB, free: 9.305 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003545/0.3638, allocations: 94.69 kB / 475.6 MB, free: 9.207 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.3639, allocations: 55.38 kB / 475.7 MB, free: 9.152 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3639, allocations: 3.938 kB / 475.7 MB, free: 9.148 MB / 382.1 MB Notification: Performance of Templates: time 0.02382/0.3877, allocations: 11.72 MB / 487.4 MB, free: 13.64 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.097687758971006]