Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_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.001339/0.001339, allocations: 114.1 kB / 18.45 MB, free: 4.605 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.001546/0.001546, allocations: 208.3 kB / 21.41 MB, free: 1.648 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.448/1.448, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 47.94 kB / 374.2 MB, free: 9.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1036, allocations: 53.33 MB / 427.5 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.264/0.3676, allocations: 7.179 MB / 434.7 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006305/0.3739, allocations: 2.385 MB / 437.1 MB, free: 6.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001372/0.3753, allocations: 20.09 kB / 437.1 MB, free: 6.727 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002512/0.3778, allocations: 0.5223 MB / 437.6 MB, free: 6.508 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002518/0.3803, allocations: 414.2 kB / 438 MB, free: 6.277 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.3813, allocations: 204.5 kB / 438.2 MB, free: 6.273 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002687/0.384, allocations: 1.201 MB / 439.4 MB, free: 5.781 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000994/0.385, allocations: 336.4 kB / 439.7 MB, free: 5.574 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001237/0.3862, allocations: 486.1 kB / 440.2 MB, free: 5.328 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00123/0.3875, allocations: 495.7 kB / 440.7 MB, free: 5.066 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003756/0.3879, allocations: 113.3 kB / 440.8 MB, free: 5.066 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008129/0.3887, allocations: 154 kB / 441 MB, free: 5.055 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000325/0.389, allocations: 233.6 kB / 441.2 MB, free: 4.883 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00128/0.3903, allocations: 0.5448 MB / 441.7 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003217/0.3935, allocations: 1.436 MB / 443.2 MB, free: 3.984 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.887e-06/0.3935, allocations: 1.094 kB / 443.2 MB, free: 3.984 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.195e-06/0.3935, allocations: 4 kB / 443.2 MB, free: 3.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.601e-05/0.3936, allocations: 0 / 443.2 MB, free: 3.98 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.004011/0.3976, allocations: 1.274 MB / 444.4 MB, free: 3.086 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.3976, allocations: 9.344 kB / 444.4 MB, free: 3.086 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009679/0.3986, allocations: 149.3 kB / 444.6 MB, free: 3.027 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002166/0.4008, allocations: 0.6507 MB / 445.2 MB, free: 2.551 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001222/0.4009, allocations: 57.94 kB / 445.3 MB, free: 2.527 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002441/0.4011, allocations: 84.91 kB / 445.4 MB, free: 2.496 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002491/0.4036, allocations: 0.7833 MB / 446.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.964e-05/0.4037, allocations: 5.391 kB / 446.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/0.4038, allocations: 35.86 kB / 446.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.99e-05/0.4038, allocations: 19.28 kB / 446.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001913/0.4057, allocations: 0.5173 MB / 446.7 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007514/0.4132, allocations: 3.38 MB / 450.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008956/0.4141, allocations: 216.2 kB / 450.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004742/0.4146, allocations: 113 kB / 450.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.227e-05/0.4147, allocations: 2.125 kB / 450.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.806e-05/0.4147, allocations: 37.48 kB / 450.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 3.877e-06/0.4147, allocations: 0 / 450.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.004061/0.4188, allocations: 1.051 MB / 451.5 MB, free: 14.58 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.4189, allocations: 85.12 kB / 451.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001838/0.4207, allocations: 0.7318 MB / 452.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.894e-05/0.4208, allocations: 31.92 kB / 452.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006424/0.4214, allocations: 0.5009 MB / 452.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001564/0.4216, allocations: 114.8 kB / 453 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002648/0.4218, allocations: 113.8 kB / 453.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003027/0.4221, allocations: 383.7 kB / 453.5 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004947/0.4226, allocations: 124 kB / 453.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008667/0.4235, allocations: 418.5 kB / 454 MB, free: 12.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00151/0.425, allocations: 0.5788 MB / 454.6 MB, free: 12.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.437e-06/0.425, allocations: 3.125 kB / 454.6 MB, free: 12.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002119/0.4271, allocations: 0.6177 MB / 455.2 MB, free: 11.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.557e-05/0.4272, allocations: 9.938 kB / 455.2 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.443e-05/0.4272, allocations: 9.75 kB / 455.2 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002566/0.4274, allocations: 37.31 kB / 455.3 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008061/0.4283, allocations: 136.1 kB / 455.4 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001904/0.4302, allocations: 1.389 MB / 456.8 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/0.4312, allocations: 33.62 kB / 456.8 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.086e-05/0.4313, allocations: 32.47 kB / 456.8 MB, free: 10.48 MB / 366.1 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.0005204/0.4318, allocations: 234.5 kB / 457.1 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001653/0.432, allocations: 75.56 kB / 457.2 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001068/0.4331, allocations: 326 kB / 457.5 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.4331, allocations: 3.312 kB / 457.5 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4331, allocations: 5.312 kB / 457.5 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.966e-06/0.4331, allocations: 1.312 kB / 457.5 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003028/0.4361, allocations: 1.099 MB / 458.6 MB, free: 9.414 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.4361, allocations: 1.938 kB / 458.6 MB, free: 9.414 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004785/0.4366, allocations: 58.25 kB / 458.6 MB, free: 9.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001622/0.4368, allocations: 26.58 kB / 458.7 MB, free: 9.395 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.337e-05/0.4368, allocations: 8.219 kB / 458.7 MB, free: 9.391 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001757/0.4386, allocations: 1.378 MB / 460.1 MB, free: 7.984 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.4386, allocations: 3.609 kB / 460.1 MB, free: 7.984 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001634/0.4402, allocations: 0.5514 MB / 460.6 MB, free: 7.633 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004722/0.4407, allocations: 189.9 kB / 460.8 MB, free: 7.465 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/0.4408, allocations: 5.969 kB / 460.8 MB, free: 7.465 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005851/0.4414, allocations: 17.44 kB / 460.8 MB, free: 7.461 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.477e-05/0.4415, allocations: 26.44 kB / 460.8 MB, free: 7.453 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.165e-05/0.4415, allocations: 11.5 kB / 460.9 MB, free: 7.449 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001211/0.4427, allocations: 0.5002 MB / 461.4 MB, free: 7.223 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.4427, allocations: 5.719 kB / 461.4 MB, free: 7.219 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001266/0.444, allocations: 156.5 kB / 461.5 MB, free: 7.207 MB / 366.1 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.0003133/0.4443, allocations: 125.3 kB / 461.6 MB, free: 7.102 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001541/0.4458, allocations: 451.1 kB / 462.1 MB, free: 6.879 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.4458, allocations: 1.344 kB / 462.1 MB, free: 6.879 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006681/0.4465, allocations: 237.9 kB / 462.3 MB, free: 6.723 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001654/0.4482, allocations: 187.2 kB / 462.5 MB, free: 6.668 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004229/0.4524, allocations: 1.486 MB / 464 MB, free: 5.738 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009193/0.4533, allocations: 0.9442 MB / 464.9 MB, free: 4.941 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002249/0.4535, allocations: 48.38 kB / 465 MB, free: 4.934 MB / 366.1 MB Notification: Performance of SimCode: time 1.684e-06/0.4535, allocations: 0 / 465 MB, free: 4.934 MB / 366.1 MB Notification: Performance of Templates: time 0.02167/0.4752, allocations: 13.54 MB / 478.5 MB, free: 12.47 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start/DCPM_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_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.871170542988693]