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.0007829/0.0007829, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.005055/0.005055, allocations: 163 kB / 24.7 MB, free: 9.426 MB / 18.57 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 0.8735/0.8735, allocations: 177.1 MB / 205 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.813e-06/1.813e-06, allocations: 0 / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.215e-05/3.396e-05, allocations: 2.281 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.008999/0.009033, allocations: 7.176 MB / 333 MB, free: 8.215 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005537/0.01457, allocations: 2.49 MB / 335.5 MB, free: 5.719 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001366/0.01594, allocations: 31.88 kB / 335.5 MB, free: 5.688 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00182/0.01776, allocations: 0.5246 MB / 336.1 MB, free: 5.16 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002047/0.0198, allocations: 0.5116 MB / 336.6 MB, free: 4.645 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007554/0.02056, allocations: 259.6 kB / 336.8 MB, free: 4.391 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002405/0.02296, allocations: 1.536 MB / 338.4 MB, free: 2.848 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008057/0.02377, allocations: 371.8 kB / 338.7 MB, free: 2.465 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001585/0.02535, allocations: 0.8612 MB / 339.6 MB, free: 1.602 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008024/0.02616, allocations: 438.6 kB / 340 MB, free: 1.168 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002778/0.02643, allocations: 140 kB / 340.1 MB, free: 1.031 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003559/0.02679, allocations: 179.9 kB / 340.3 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001861/0.02698, allocations: 286.8 kB / 340.6 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006032/0.02758, allocations: 462.9 kB / 341.1 MB, free: 124 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002084/0.02966, allocations: 1.729 MB / 342.8 MB, free: 14.39 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.02967, allocations: 0 / 342.8 MB, free: 14.39 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.02967, allocations: 0 / 342.8 MB, free: 14.39 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.49e-05/0.02973, allocations: 0 / 342.8 MB, free: 14.39 MB / 314.7 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.002899/0.03263, allocations: 1.398 MB / 344.2 MB, free: 12.95 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.03267, allocations: 8.031 kB / 344.2 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006426/0.03332, allocations: 196 kB / 344.4 MB, free: 12.75 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001717/0.03503, allocations: 0.6767 MB / 345.1 MB, free: 12.05 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.69e-05/0.03509, allocations: 70 kB / 345.1 MB, free: 11.98 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/0.03523, allocations: 108 kB / 345.2 MB, free: 11.88 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001669/0.0369, allocations: 1.031 MB / 346.3 MB, free: 10.79 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.931e-05/0.03694, allocations: 4 kB / 346.3 MB, free: 10.79 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-05/0.03702, allocations: 43.98 kB / 346.3 MB, free: 10.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/0.03704, allocations: 24 kB / 346.3 MB, free: 10.72 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001303/0.03834, allocations: 0.6286 MB / 347 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004939/0.04328, allocations: 3.343 MB / 350.3 MB, free: 6.551 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006775/0.04396, allocations: 343.5 kB / 350.6 MB, free: 6.207 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005388/0.0445, allocations: 257.3 kB / 350.9 MB, free: 5.953 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.118e-05/0.04453, allocations: 8.266 kB / 350.9 MB, free: 5.945 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.04456, allocations: 42.89 kB / 350.9 MB, free: 5.895 MB / 314.7 MB Notification: Performance of pre-optimization done (n=40): time 3.506e-06/0.04456, allocations: 0 / 350.9 MB, free: 5.895 MB / 314.7 MB Notification: Performance of matching and sorting (n=44): time 0.003061/0.04762, allocations: 1.257 MB / 352.2 MB, free: 4.602 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.903e-05/0.04768, allocations: 81.11 kB / 352.3 MB, free: 4.504 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/0.04878, allocations: 0.7581 MB / 353 MB, free: 3.734 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.895e-05/0.04884, allocations: 33.7 kB / 353.1 MB, free: 3.695 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000284/0.04912, allocations: 0.5813 MB / 353.6 MB, free: 3.105 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.713e-05/0.04922, allocations: 166.6 kB / 353.8 MB, free: 2.941 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.04934, allocations: 126.6 kB / 353.9 MB, free: 2.812 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.04946, allocations: 382.8 kB / 354.3 MB, free: 2.43 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002407/0.0497, allocations: 169.9 kB / 354.5 MB, free: 2.262 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003337/0.05004, allocations: 489.7 kB / 355 MB, free: 1.645 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005636/0.0506, allocations: 0.6583 MB / 355.6 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.0506, allocations: 4 kB / 355.6 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0008239/0.05143, allocations: 0.7595 MB / 356.4 MB, free: 80 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.05145, allocations: 16.08 kB / 356.4 MB, free: 64 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.05146, allocations: 12 kB / 356.4 MB, free: 52 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001935/0.05165, allocations: 77.75 kB / 356.5 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002686/0.05192, allocations: 155.7 kB / 356.6 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00155/0.05347, allocations: 2.877 MB / 359.5 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003132/0.05378, allocations: 40.12 kB / 359.5 MB, free: 12.69 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.838e-05/0.05381, allocations: 32 kB / 359.6 MB, free: 12.66 MB / 330.7 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.0002891/0.0541, allocations: 265.5 kB / 359.8 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.355e-05/0.05417, allocations: 79.48 kB / 359.9 MB, free: 12.31 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005486/0.05472, allocations: 486.6 kB / 360.4 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.05473, allocations: 8 kB / 360.4 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.05473, allocations: 0 / 360.4 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.309e-06/0.05473, allocations: 3.938 kB / 360.4 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001189/0.05592, allocations: 1.189 MB / 361.6 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.05592, allocations: 4 kB / 361.6 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001564/0.05608, allocations: 75.83 kB / 361.7 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000119/0.0562, allocations: 73.84 kB / 361.7 MB, free: 10.4 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.05622, allocations: 11.98 kB / 361.8 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001361/0.05758, allocations: 2.859 MB / 364.6 MB, free: 7.328 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.05758, allocations: 4 kB / 364.6 MB, free: 7.324 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006972/0.05828, allocations: 0.7554 MB / 365.4 MB, free: 6.523 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001513/0.05843, allocations: 119.6 kB / 365.5 MB, free: 6.406 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.426e-05/0.05847, allocations: 11.98 kB / 365.5 MB, free: 6.395 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001842/0.05866, allocations: 31.97 kB / 365.5 MB, free: 6.363 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.808e-05/0.05871, allocations: 31.89 kB / 365.6 MB, free: 6.332 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.05872, allocations: 23.92 kB / 365.6 MB, free: 6.309 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000419/0.05914, allocations: 0.4991 MB / 366.1 MB, free: 5.812 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05914, allocations: 0 / 366.1 MB, free: 5.812 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005255/0.05967, allocations: 207.9 kB / 366.3 MB, free: 5.609 MB / 330.7 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.0001669/0.05983, allocations: 123.2 kB / 366.4 MB, free: 5.48 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006759/0.06051, allocations: 0.6672 MB / 367.1 MB, free: 4.789 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.06051, allocations: 0 / 367.1 MB, free: 4.789 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003374/0.06085, allocations: 437.9 kB / 367.5 MB, free: 4.336 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005475/0.0614, allocations: 205.4 kB / 367.7 MB, free: 4.145 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/0.06315, allocations: 1.665 MB / 369.4 MB, free: 2.422 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.0634, allocations: 417.7 kB / 369.8 MB, free: 1.984 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.417e-05/0.0635, allocations: 56.5 kB / 369.8 MB, free: 1.93 MB / 330.7 MB Notification: Performance of SimCode: time 6.92e-07/0.0635, allocations: 0 / 369.8 MB, free: 1.93 MB / 330.7 MB Notification: Performance of Templates: time 0.01392/0.07742, allocations: 20.97 MB / 390.8 MB, free: 12.99 MB / 362.7 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.317648676224053]