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.001589/0.001589, allocations: 118.6 kB / 18.5 MB, free: 4.543 MB / 14.72 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.001871/0.001871, allocations: 202.6 kB / 21.45 MB, free: 1.59 MB / 14.72 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 1.47/1.47, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002055/0.002055, allocations: 71.88 kB / 373.8 MB, free: 9.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1193, allocations: 53.32 MB / 427.2 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.2031/0.3224, allocations: 7.182 MB / 434.3 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004013/0.3264, allocations: 2.384 MB / 436.7 MB, free: 6.945 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006065/0.327, allocations: 20.16 kB / 436.7 MB, free: 6.941 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001195/0.3282, allocations: 0.5135 MB / 437.3 MB, free: 6.727 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008661/0.3291, allocations: 415.8 kB / 437.7 MB, free: 6.492 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003684/0.3294, allocations: 203.1 kB / 437.9 MB, free: 6.488 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001226/0.3307, allocations: 1.2 MB / 439.1 MB, free: 6.039 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004809/0.3312, allocations: 341.6 kB / 439.4 MB, free: 5.824 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005939/0.3317, allocations: 471.4 kB / 439.9 MB, free: 5.582 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004882/0.3322, allocations: 0.4884 MB / 440.3 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001348/0.3324, allocations: 113.1 kB / 440.5 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002818/0.3327, allocations: 154.5 kB / 440.6 MB, free: 5.305 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001401/0.3328, allocations: 233.2 kB / 440.8 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004046/0.3332, allocations: 0.5405 MB / 441.4 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001708/0.3349, allocations: 1.435 MB / 442.8 MB, free: 4.238 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.3349, allocations: 0 / 442.8 MB, free: 4.238 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3349, allocations: 6.312 kB / 442.8 MB, free: 4.234 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.046e-05/0.3349, allocations: 0.6562 kB / 442.8 MB, free: 4.234 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.002171/0.3371, allocations: 1.282 MB / 444.1 MB, free: 3.332 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.3371, allocations: 10.28 kB / 444.1 MB, free: 3.332 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004979/0.3376, allocations: 148.1 kB / 444.3 MB, free: 3.273 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001156/0.3388, allocations: 0.6513 MB / 444.9 MB, free: 2.801 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.857e-05/0.3389, allocations: 58.44 kB / 445 MB, free: 2.777 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001778/0.3391, allocations: 84.2 kB / 445 MB, free: 2.746 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/0.3405, allocations: 0.7792 MB / 445.8 MB, free: 2.363 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.501e-05/0.3406, allocations: 7.016 kB / 445.8 MB, free: 2.359 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.929e-05/0.3406, allocations: 35.12 kB / 445.9 MB, free: 2.332 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.456e-05/0.3407, allocations: 19.69 kB / 445.9 MB, free: 2.332 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/0.3417, allocations: 0.5185 MB / 446.4 MB, free: 2.145 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003923/0.3457, allocations: 3.372 MB / 449.8 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005359/0.3462, allocations: 220.5 kB / 450 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002481/0.3464, allocations: 108.5 kB / 450.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.249e-05/0.3465, allocations: 2.875 kB / 450.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.3465, allocations: 33.27 kB / 450.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.503e-06/0.3465, allocations: 4 kB / 450.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.002168/0.3487, allocations: 1.069 MB / 451.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.404e-05/0.3487, allocations: 84.69 kB / 451.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.3498, allocations: 0.7328 MB / 452 MB, free: 14.4 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.3498, allocations: 31.14 kB / 452 MB, free: 14.37 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004069/0.3502, allocations: 0.4992 MB / 452.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.384e-05/0.3503, allocations: 112.5 kB / 452.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/0.3505, allocations: 113.4 kB / 452.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002228/0.3507, allocations: 379.5 kB / 453.1 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002855/0.351, allocations: 126.2 kB / 453.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000531/0.3515, allocations: 418.6 kB / 453.7 MB, free: 13 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008425/0.3524, allocations: 0.5755 MB / 454.2 MB, free: 12.47 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.3524, allocations: 3.125 kB / 454.2 MB, free: 12.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001088/0.3535, allocations: 0.618 MB / 454.9 MB, free: 12.19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.3535, allocations: 9.484 kB / 454.9 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.3535, allocations: 10.88 kB / 454.9 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001602/0.3537, allocations: 32.88 kB / 454.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004396/0.3541, allocations: 139.7 kB / 455.1 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001189/0.3553, allocations: 1.386 MB / 456.4 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004385/0.3557, allocations: 36.89 kB / 456.5 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-05/0.3558, allocations: 33.91 kB / 456.5 MB, free: 10.73 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.0002992/0.3561, allocations: 233.2 kB / 456.7 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.3562, allocations: 73.91 kB / 456.8 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006711/0.3568, allocations: 326.6 kB / 457.1 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.3568, allocations: 2.75 kB / 457.1 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.3568, allocations: 1.984 kB / 457.1 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.3568, allocations: 1.172 kB / 457.1 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001737/0.3586, allocations: 1.102 MB / 458.2 MB, free: 9.668 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.3586, allocations: 2.156 kB / 458.2 MB, free: 9.668 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002628/0.3589, allocations: 62.02 kB / 458.3 MB, free: 9.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.682e-05/0.3589, allocations: 23.36 kB / 458.3 MB, free: 9.648 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.127e-05/0.3589, allocations: 8.984 kB / 458.3 MB, free: 9.645 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001068/0.36, allocations: 1.374 MB / 459.7 MB, free: 8.238 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.36, allocations: 6.578 kB / 459.7 MB, free: 8.234 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009085/0.3609, allocations: 0.5561 MB / 460.3 MB, free: 7.879 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000208/0.3611, allocations: 174.4 kB / 460.4 MB, free: 7.723 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.733e-05/0.3612, allocations: 16.36 kB / 460.5 MB, free: 7.715 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003328/0.3616, allocations: 13.28 kB / 460.5 MB, free: 7.715 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.326e-05/0.3616, allocations: 34.61 kB / 460.5 MB, free: 7.699 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.3616, allocations: 11.94 kB / 460.5 MB, free: 7.695 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000682/0.3623, allocations: 0.4996 MB / 461 MB, free: 7.469 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3623, allocations: 0 / 461 MB, free: 7.469 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006829/0.363, allocations: 161.9 kB / 461.2 MB, free: 7.453 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.0002098/0.3632, allocations: 126.3 kB / 461.3 MB, free: 7.344 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008759/0.3641, allocations: 447.2 kB / 461.7 MB, free: 7.125 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.3641, allocations: 5.188 kB / 461.7 MB, free: 7.121 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000391/0.3645, allocations: 237.7 kB / 462 MB, free: 6.965 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009157/0.3654, allocations: 197.9 kB / 462.2 MB, free: 6.906 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002293/0.3677, allocations: 1.443 MB / 463.6 MB, free: 6.016 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005818/0.3683, allocations: 0.9412 MB / 464.5 MB, free: 5.254 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002965/0.3686, allocations: 91.81 kB / 464.6 MB, free: 5.211 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.3687, allocations: 46.78 kB / 464.7 MB, free: 5.203 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3687, allocations: 0 / 464.7 MB, free: 5.203 MB / 366.1 MB Notification: Performance of Templates: time 0.01684/0.3855, allocations: 8.389 MB / 473.1 MB, free: 1.109 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.852069060318172]