Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001023/0.001023, allocations: 83.56 kB / 21.97 MB, free: 2.625 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.001988/0.001988, allocations: 167.7 kB / 25.33 MB, free: 9.059 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.002/1.002, allocations: 158.6 MB / 187.2 MB, free: 2.922 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 251.1 MB, free: 7.504 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.325e-05/2.481e-05, allocations: 2.312 kB / 251.1 MB, free: 7.5 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.007247/0.007272, allocations: 8.011 MB / 259.1 MB, free: 15.44 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003802/0.01107, allocations: 2.623 MB / 261.7 MB, free: 12.81 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006527/0.01173, allocations: 31.88 kB / 261.7 MB, free: 12.78 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00123/0.01296, allocations: 0.5168 MB / 262.2 MB, free: 12.26 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000921/0.01388, allocations: 0.5155 MB / 262.8 MB, free: 11.74 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003825/0.01426, allocations: 255.7 kB / 263 MB, free: 11.49 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001653/0.01591, allocations: 1.539 MB / 264.5 MB, free: 9.945 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005797/0.01649, allocations: 375.2 kB / 264.9 MB, free: 9.555 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00119/0.01768, allocations: 0.8651 MB / 265.8 MB, free: 8.688 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007194/0.0184, allocations: 470.6 kB / 266.2 MB, free: 8.227 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002482/0.01865, allocations: 136 kB / 266.4 MB, free: 8.094 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003424/0.01899, allocations: 172 kB / 266.5 MB, free: 7.926 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.01913, allocations: 286.8 kB / 266.8 MB, free: 7.645 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003803/0.01952, allocations: 466.9 kB / 267.3 MB, free: 7.188 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.02056, allocations: 0.9262 MB / 268.2 MB, free: 6.258 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.02056, allocations: 0 / 268.2 MB, free: 6.258 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.02057, allocations: 0 / 268.2 MB, free: 6.258 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.81e-05/0.02058, allocations: 0 / 268.2 MB, free: 6.258 MB / 250.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.001533/0.02212, allocations: 1.511 MB / 269.7 MB, free: 4.707 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.02216, allocations: 15.98 kB / 269.7 MB, free: 4.691 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004509/0.02261, allocations: 272 kB / 270 MB, free: 4.426 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000961/0.02357, allocations: 0.6724 MB / 270.7 MB, free: 3.719 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.254e-05/0.02361, allocations: 74 kB / 270.7 MB, free: 3.648 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.739e-05/0.02371, allocations: 104 kB / 270.8 MB, free: 3.547 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008952/0.02461, allocations: 0.8278 MB / 271.7 MB, free: 2.656 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.567e-05/0.02463, allocations: 7.984 kB / 271.7 MB, free: 2.648 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.934e-05/0.02468, allocations: 40 kB / 271.7 MB, free: 2.609 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.863e-05/0.0247, allocations: 24 kB / 271.7 MB, free: 2.586 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005147/0.02521, allocations: 351.7 kB / 272.1 MB, free: 2.242 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003147/0.02836, allocations: 3.632 MB / 275.7 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004124/0.02877, allocations: 272 kB / 276 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002916/0.02907, allocations: 192.2 kB / 276.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.02909, allocations: 4.328 kB / 276.2 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.02912, allocations: 41.72 kB / 276.2 MB, free: 13.87 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 2.746e-06/0.02912, allocations: 0 / 276.2 MB, free: 13.87 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.001525/0.03065, allocations: 1.013 MB / 277.2 MB, free: 12.82 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002357/0.03089, allocations: 81.11 kB / 277.3 MB, free: 12.72 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006054/0.03149, allocations: 0.7568 MB / 278.1 MB, free: 11.95 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.03151, allocations: 33.7 kB / 278.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002836/0.0318, allocations: 0.6348 MB / 278.7 MB, free: 11.27 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.986e-05/0.03189, allocations: 170.6 kB / 278.9 MB, free: 11.1 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.032, allocations: 136.2 kB / 279 MB, free: 10.96 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.03217, allocations: 0.5664 MB / 279.6 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.03229, allocations: 81.94 kB / 279.7 MB, free: 10.3 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003013/0.03259, allocations: 0.5255 MB / 280.2 MB, free: 9.586 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004608/0.03305, allocations: 0.625 MB / 280.8 MB, free: 8.777 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.03306, allocations: 4 kB / 280.8 MB, free: 8.773 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0006749/0.03373, allocations: 0.6403 MB / 281.5 MB, free: 8.121 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.03375, allocations: 11.98 kB / 281.5 MB, free: 8.109 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.03376, allocations: 16.03 kB / 281.5 MB, free: 8.094 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000198/0.03396, allocations: 71.34 kB / 281.6 MB, free: 8.016 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002678/0.03423, allocations: 151.8 kB / 281.7 MB, free: 7.867 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001912/0.03614, allocations: 3.861 MB / 285.6 MB, free: 3.762 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003114/0.03645, allocations: 40.09 kB / 285.6 MB, free: 3.723 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.925e-05/0.03648, allocations: 32 kB / 285.6 MB, free: 3.691 MB / 266.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.0002015/0.03668, allocations: 204.3 kB / 285.8 MB, free: 3.48 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.48e-05/0.03677, allocations: 99.48 kB / 285.9 MB, free: 3.383 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004398/0.03721, allocations: 376.5 kB / 286.3 MB, free: 2.996 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.03721, allocations: 7.984 kB / 286.3 MB, free: 2.988 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.03721, allocations: 4 kB / 286.3 MB, free: 2.984 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.03722, allocations: 11.86 kB / 286.3 MB, free: 2.973 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.0384, allocations: 1.15 MB / 287.5 MB, free: 1.742 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.0384, allocations: 4 kB / 287.5 MB, free: 1.738 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000159/0.03856, allocations: 71.84 kB / 287.6 MB, free: 1.668 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001506/0.03871, allocations: 67.55 kB / 287.6 MB, free: 1.594 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.03873, allocations: 15.94 kB / 287.6 MB, free: 1.578 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001735/0.04046, allocations: 3.842 MB / 291.5 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.04047, allocations: 4 kB / 291.5 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005749/0.04104, allocations: 0.6601 MB / 292.1 MB, free: 12.78 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001601/0.0412, allocations: 119.4 kB / 292.3 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.155e-05/0.04125, allocations: 15.98 kB / 292.3 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/0.04144, allocations: 23.98 kB / 292.3 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.412e-05/0.0415, allocations: 31.94 kB / 292.3 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.04152, allocations: 12 kB / 292.3 MB, free: 12.58 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003942/0.04191, allocations: 474.9 kB / 292.8 MB, free: 12.12 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.04191, allocations: 0 / 292.8 MB, free: 12.12 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006648/0.04257, allocations: 211.9 kB / 293 MB, free: 11.91 MB / 282.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.0002286/0.0428, allocations: 127.1 kB / 293.1 MB, free: 11.77 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007341/0.04354, allocations: 0.6871 MB / 293.8 MB, free: 11.05 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.04354, allocations: 2 kB / 293.8 MB, free: 11.05 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003265/0.04387, allocations: 495.5 kB / 294.3 MB, free: 10.53 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005934/0.04446, allocations: 202.6 kB / 294.5 MB, free: 10.33 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/0.04659, allocations: 1.62 MB / 296.1 MB, free: 8.641 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/0.04671, allocations: 171.3 kB / 296.3 MB, free: 8.453 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002296/0.04694, allocations: 90.69 kB / 296.4 MB, free: 8.359 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.468e-05/0.04702, allocations: 52.5 kB / 296.4 MB, free: 8.305 MB / 282.7 MB Notification: Performance of SimCode: time 1.363e-06/0.04702, allocations: 0 / 296.4 MB, free: 8.305 MB / 282.7 MB Notification: Performance of Templates: time 0.01713/0.06416, allocations: 10.72 MB / 307.1 MB, free: 13.62 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.115243748296052]