Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_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.001072/0.001072, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001482/0.002553, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001045/0.001045, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001312/0.002357, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9336/0.9336, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08421/1.018, allocations: 53.87 MB / 243.8 MB, free: 14.9 MB / 250.7 MB " [Timeout remaining time 179] 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.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.056e-05/1.175e-05, allocations: 2.312 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.01394/0.01395, allocations: 7.082 MB / 252.1 MB, free: 6.516 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002868/0.01681, allocations: 2.488 MB / 254.6 MB, free: 4.02 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002876/0.0171, allocations: 23.88 kB / 254.6 MB, free: 3.996 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006964/0.0178, allocations: 492.8 kB / 255.1 MB, free: 3.512 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004808/0.01828, allocations: 436.6 kB / 255.5 MB, free: 3.082 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002246/0.0185, allocations: 207.7 kB / 255.7 MB, free: 2.879 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007711/0.01928, allocations: 1.256 MB / 257 MB, free: 1.621 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003487/0.01962, allocations: 332.4 kB / 257.3 MB, free: 1.27 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006587/0.02028, allocations: 0.8135 MB / 258.1 MB, free: 468 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003528/0.02064, allocations: 398.8 kB / 258.5 MB, free: 68 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001014/0.02074, allocations: 108 kB / 258.6 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002016/0.02094, allocations: 155.9 kB / 258.8 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.925e-05/0.02104, allocations: 171.4 kB / 258.9 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002371/0.02127, allocations: 323.4 kB / 259.3 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006274/0.0219, allocations: 0.7278 MB / 260 MB, free: 14.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.328e-05/0.02192, allocations: 4 kB / 260 MB, free: 14.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.02192, allocations: 0 / 260 MB, free: 14.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.589e-05/0.02193, allocations: 0 / 260 MB, free: 14.59 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.001401/0.02333, allocations: 1.36 MB / 261.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.655e-05/0.02336, allocations: 12.02 kB / 261.4 MB, free: 13.19 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003053/0.02367, allocations: 257.8 kB / 261.6 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005051/0.02417, allocations: 466.8 kB / 262.1 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.012e-05/0.0242, allocations: 58.38 kB / 262.1 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.459e-05/0.02427, allocations: 92.27 kB / 262.2 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004907/0.02476, allocations: 0.6034 MB / 262.8 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.02478, allocations: 8.125 kB / 262.8 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.438e-05/0.02481, allocations: 35.94 kB / 262.9 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.02482, allocations: 16 kB / 262.9 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002271/0.02505, allocations: 205.8 kB / 263.1 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001956/0.027, allocations: 2.605 MB / 265.7 MB, free: 8.594 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.02718, allocations: 130.5 kB / 265.8 MB, free: 8.457 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.985e-05/0.02723, allocations: 44.84 kB / 265.8 MB, free: 8.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.02725, allocations: 4 kB / 265.9 MB, free: 8.406 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.02727, allocations: 34.56 kB / 265.9 MB, free: 8.363 MB / 266.7 MB Notification: Performance of pre-optimization done (n=25): time 1.232e-06/0.02727, allocations: 0 / 265.9 MB, free: 8.363 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007183/0.02799, allocations: 0.5445 MB / 266.4 MB, free: 7.781 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.366e-05/0.02801, allocations: 51.64 kB / 266.5 MB, free: 7.719 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006737/0.02869, allocations: 0.5989 MB / 267.1 MB, free: 7.105 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.0287, allocations: 37.64 kB / 267.1 MB, free: 7.062 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001775/0.02888, allocations: 452.5 kB / 267.6 MB, free: 6.613 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.898e-05/0.02893, allocations: 107.1 kB / 267.7 MB, free: 6.508 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.823e-05/0.02902, allocations: 122.2 kB / 267.8 MB, free: 6.383 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.763e-05/0.02911, allocations: 374.6 kB / 268.1 MB, free: 6.008 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.839e-05/0.02916, allocations: 49.28 kB / 268.2 MB, free: 5.957 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001755/0.02934, allocations: 371.8 kB / 268.6 MB, free: 5.453 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002814/0.02962, allocations: 453.3 kB / 269 MB, free: 4.875 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.02962, allocations: 4 kB / 269 MB, free: 4.871 MB / 266.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0003504/0.02997, allocations: 398.1 kB / 269.4 MB, free: 4.473 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.02999, allocations: 8 kB / 269.4 MB, free: 4.465 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.03, allocations: 12 kB / 269.4 MB, free: 4.453 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.084e-05/0.03009, allocations: 32.78 kB / 269.4 MB, free: 4.418 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000276/0.03037, allocations: 160.2 kB / 269.6 MB, free: 4.262 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005291/0.03089, allocations: 1.175 MB / 270.8 MB, free: 3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000188/0.03108, allocations: 31.95 kB / 270.8 MB, free: 2.969 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.0311, allocations: 24 kB / 270.8 MB, free: 2.945 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (73): * Single equations (assignments): 72 * 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.000125/0.03123, allocations: 157.7 kB / 271 MB, free: 2.781 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.263e-05/0.03128, allocations: 51.88 kB / 271 MB, free: 2.73 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002035/0.03148, allocations: 189.2 kB / 271.2 MB, free: 2.535 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.03149, allocations: 0 / 271.2 MB, free: 2.535 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.03149, allocations: 7.938 kB / 271.2 MB, free: 2.527 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.03149, allocations: 3.984 kB / 271.2 MB, free: 2.523 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005707/0.03206, allocations: 0.5833 MB / 271.8 MB, free: 1.887 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.03207, allocations: 4 kB / 271.8 MB, free: 1.883 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001454/0.03221, allocations: 63.89 kB / 271.9 MB, free: 1.82 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.108e-05/0.0323, allocations: 59.58 kB / 271.9 MB, free: 1.762 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.287e-05/0.03236, allocations: 20.84 kB / 272 MB, free: 1.738 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.03237, allocations: 8 kB / 272 MB, free: 1.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004308/0.0328, allocations: 1.166 MB / 273.1 MB, free: 488 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.0328, allocations: 3.938 kB / 273.1 MB, free: 484 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/0.03304, allocations: 350.7 kB / 273.5 MB, free: 92 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.383e-05/0.03308, allocations: 11.98 kB / 273.5 MB, free: 80 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.03321, allocations: 12 kB / 273.5 MB, free: 68 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/0.03325, allocations: 23.95 kB / 273.5 MB, free: 44 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.455e-06/0.03326, allocations: 12.09 kB / 273.5 MB, free: 32 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002366/0.03349, allocations: 287.3 kB / 273.8 MB, free: 15.75 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03349, allocations: 0 / 273.8 MB, free: 15.75 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006049/0.0341, allocations: 163.9 kB / 274 MB, free: 15.59 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,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 (27): * Single equations (assignments): 26 * 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.000113/0.03421, allocations: 92.34 kB / 274.1 MB, free: 15.49 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002913/0.0345, allocations: 353.6 kB / 274.4 MB, free: 15.13 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-05/0.03452, allocations: 8.812 kB / 274.4 MB, free: 15.12 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.03463, allocations: 194.7 kB / 274.6 MB, free: 14.92 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004176/0.03505, allocations: 226.5 kB / 274.8 MB, free: 14.71 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007523/0.04257, allocations: 1.391 MB / 276.2 MB, free: 13.26 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.897e-05/0.04266, allocations: 150.1 kB / 276.4 MB, free: 13.09 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001721/0.04284, allocations: 85.55 kB / 276.5 MB, free: 13 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002343/0.04307, allocations: 205.2 kB / 276.7 MB, free: 12.8 MB / 282.7 MB Notification: Performance of SimCode: time 7.81e-07/0.04307, allocations: 3.938 kB / 276.7 MB, free: 12.8 MB / 282.7 MB Notification: Performance of Templates: time 0.01169/0.05476, allocations: 9.073 MB / 285.7 MB, free: 3.898 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start/DCPM_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: 2.5941357500851154]