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.001915/0.001915, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002215/0.002215, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.517/1.517, allocations: 230.6 MB / 254.1 MB, free: 15.12 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.001575/0.001575, allocations: 48.06 kB / 373.5 MB, free: 9.727 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09714/0.09871, allocations: 53.34 MB / 426.8 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.1893/0.288, allocations: 7.177 MB / 434 MB, free: 7.953 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003714/0.2917, allocations: 2.387 MB / 436.4 MB, free: 6.762 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007076/0.2924, allocations: 24.66 kB / 436.4 MB, free: 6.754 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001405/0.2939, allocations: 0.5102 MB / 436.9 MB, free: 6.543 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009213/0.2948, allocations: 416.6 kB / 437.3 MB, free: 6.309 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003682/0.2951, allocations: 205.6 kB / 437.5 MB, free: 6.301 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001133/0.2963, allocations: 1.201 MB / 438.7 MB, free: 5.809 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005724/0.2968, allocations: 339.1 kB / 439 MB, free: 5.598 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009599/0.2978, allocations: 479.3 kB / 439.5 MB, free: 5.359 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000594/0.2984, allocations: 499.4 kB / 440 MB, free: 5.094 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001558/0.2986, allocations: 113.4 kB / 440.1 MB, free: 5.094 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003653/0.2989, allocations: 153.5 kB / 440.3 MB, free: 5.082 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001824/0.2991, allocations: 233.5 kB / 440.5 MB, free: 4.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004832/0.2996, allocations: 0.5487 MB / 441 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001932/0.3015, allocations: 1.433 MB / 442.5 MB, free: 4.012 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3015, allocations: 3.938 kB / 442.5 MB, free: 4.008 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3015, allocations: 0 / 442.5 MB, free: 4.008 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.415e-05/0.3016, allocations: 0 / 442.5 MB, free: 4.008 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.002015/0.3036, allocations: 1.274 MB / 443.8 MB, free: 3.113 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.3036, allocations: 13.81 kB / 443.8 MB, free: 3.109 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004859/0.3041, allocations: 152.3 kB / 443.9 MB, free: 3.047 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.3051, allocations: 0.6434 MB / 444.6 MB, free: 2.578 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.731e-05/0.3052, allocations: 62.12 kB / 444.6 MB, free: 2.551 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.3053, allocations: 84.78 kB / 444.7 MB, free: 2.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00137/0.3067, allocations: 0.7806 MB / 445.5 MB, free: 2.137 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.036e-05/0.3067, allocations: 6.984 kB / 445.5 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.153e-05/0.3068, allocations: 30.84 kB / 445.5 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.982e-05/0.3068, allocations: 19.59 kB / 445.5 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.3078, allocations: 0.5173 MB / 446.1 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004007/0.3119, allocations: 3.38 MB / 449.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005276/0.3124, allocations: 227.1 kB / 449.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002554/0.3126, allocations: 104.7 kB / 449.8 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.076e-05/0.3127, allocations: 2.25 kB / 449.8 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.3127, allocations: 41.45 kB / 449.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.744e-06/0.3127, allocations: 0 / 449.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.002333/0.315, allocations: 1.051 MB / 450.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.96e-05/0.3151, allocations: 80.97 kB / 450.9 MB, free: 14.51 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.3161, allocations: 0.737 MB / 451.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/0.3162, allocations: 31.05 kB / 451.7 MB, free: 14.15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004132/0.3166, allocations: 0.501 MB / 452.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.285e-05/0.3167, allocations: 110.8 kB / 452.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/0.3168, allocations: 113.2 kB / 452.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002144/0.3171, allocations: 384.2 kB / 452.8 MB, free: 13.24 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003156/0.3174, allocations: 121.8 kB / 452.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005436/0.3179, allocations: 419.2 kB / 453.3 MB, free: 12.78 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008698/0.3188, allocations: 0.5764 MB / 453.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.3188, allocations: 3.125 kB / 453.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001146/0.3199, allocations: 0.6205 MB / 454.5 MB, free: 11.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.32, allocations: 10.72 kB / 454.5 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.32, allocations: 9.969 kB / 454.5 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001589/0.3201, allocations: 32.62 kB / 454.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000454/0.3206, allocations: 144.8 kB / 454.7 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001229/0.3218, allocations: 1.387 MB / 456.1 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000461/0.3223, allocations: 38.41 kB / 456.1 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.771e-05/0.3223, allocations: 29.31 kB / 456.2 MB, free: 10.51 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.000313/0.3226, allocations: 232.9 kB / 456.4 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.3227, allocations: 74.67 kB / 456.5 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007051/0.3234, allocations: 322.8 kB / 456.8 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.3234, allocations: 2.75 kB / 456.8 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.3234, allocations: 1.375 kB / 456.8 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.3235, allocations: 2.109 kB / 456.8 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001811/0.3253, allocations: 1.109 MB / 457.9 MB, free: 9.441 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.3253, allocations: 1.75 kB / 457.9 MB, free: 9.441 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002778/0.3255, allocations: 61.67 kB / 458 MB, free: 9.434 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001026/0.3256, allocations: 23.41 kB / 458 MB, free: 9.422 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.748e-05/0.3257, allocations: 8.875 kB / 458 MB, free: 9.418 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001247/0.3269, allocations: 1.374 MB / 459.4 MB, free: 8.012 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.3269, allocations: 1.375 kB / 459.4 MB, free: 8.012 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.328, allocations: 0.5552 MB / 459.9 MB, free: 7.656 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002279/0.3282, allocations: 181.1 kB / 460.1 MB, free: 7.496 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.039e-05/0.3283, allocations: 8.25 kB / 460.1 MB, free: 7.492 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003291/0.3286, allocations: 17.62 kB / 460.1 MB, free: 7.488 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.065e-05/0.3287, allocations: 31.2 kB / 460.2 MB, free: 7.477 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/0.3287, allocations: 11.31 kB / 460.2 MB, free: 7.473 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006905/0.3294, allocations: 0.5046 MB / 460.7 MB, free: 7.242 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3294, allocations: 0 / 460.7 MB, free: 7.242 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006755/0.3301, allocations: 158.3 kB / 460.8 MB, free: 7.23 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.0002044/0.3303, allocations: 122.5 kB / 460.9 MB, free: 7.125 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009325/0.3312, allocations: 451.6 kB / 461.4 MB, free: 6.902 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3312, allocations: 5.094 kB / 461.4 MB, free: 6.898 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000407/0.3316, allocations: 238.9 kB / 461.6 MB, free: 6.742 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009286/0.3325, allocations: 191.8 kB / 461.8 MB, free: 6.684 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002494/0.335, allocations: 1.442 MB / 463.3 MB, free: 5.797 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006284/0.3357, allocations: 0.9415 MB / 464.2 MB, free: 5.004 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003152/0.336, allocations: 89.34 kB / 464.3 MB, free: 4.961 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.3361, allocations: 47.97 kB / 464.3 MB, free: 4.953 MB / 366.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3361, allocations: 0 / 464.3 MB, free: 4.953 MB / 366.1 MB Notification: Performance of Templates: time 0.01711/0.3532, allocations: 8.405 MB / 472.7 MB, free: 0.8555 MB / 366.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/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_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: 4.975894160568714]