Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001533/0.001533, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.001496/0.001496, allocations: 166.4 kB / 25.02 MB, free: 8.945 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.471/1.471, allocations: 158.6 MB / 186.8 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 178] 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.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 0 / 250.4 MB, free: 7.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.513e-05/3.748e-05, allocations: 2.312 kB / 250.4 MB, free: 7.816 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.009924/0.009961, allocations: 6.313 MB / 256.7 MB, free: 1.461 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004927/0.01489, allocations: 2.225 MB / 258.9 MB, free: 15.22 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007378/0.01563, allocations: 19.94 kB / 258.9 MB, free: 15.2 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00142/0.01705, allocations: 480.9 kB / 259.4 MB, free: 14.73 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001148/0.01819, allocations: 432.6 kB / 259.8 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004563/0.01865, allocations: 211.7 kB / 260 MB, free: 14.1 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001654/0.02031, allocations: 1.241 MB / 261.3 MB, free: 12.85 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006051/0.02091, allocations: 316.5 kB / 261.6 MB, free: 12.52 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009835/0.02189, allocations: 0.6976 MB / 262.3 MB, free: 11.82 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005395/0.02243, allocations: 362.8 kB / 262.6 MB, free: 11.46 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001692/0.0226, allocations: 112 kB / 262.7 MB, free: 11.35 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003091/0.02291, allocations: 155.9 kB / 262.9 MB, free: 11.2 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002193/0.02313, allocations: 239.1 kB / 263.1 MB, free: 10.96 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004573/0.02359, allocations: 375.1 kB / 263.5 MB, free: 10.6 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001947/0.02554, allocations: 1.433 MB / 264.9 MB, free: 9.16 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.02554, allocations: 0 / 264.9 MB, free: 9.16 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.02554, allocations: 0 / 264.9 MB, free: 9.16 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.264e-05/0.02557, allocations: 0 / 264.9 MB, free: 9.16 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.002373/0.02794, allocations: 1.194 MB / 266.1 MB, free: 7.934 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.02799, allocations: 11.98 kB / 266.1 MB, free: 7.922 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006423/0.02863, allocations: 212.2 kB / 266.3 MB, free: 7.715 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/0.02986, allocations: 0.607 MB / 266.9 MB, free: 7.082 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.2e-05/0.02992, allocations: 58.38 kB / 267 MB, free: 7.027 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.03005, allocations: 80.38 kB / 267.1 MB, free: 6.949 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001702/0.03176, allocations: 0.8262 MB / 267.9 MB, free: 6.078 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.048e-05/0.03179, allocations: 12.14 kB / 267.9 MB, free: 6.066 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.731e-05/0.03186, allocations: 39.94 kB / 268 MB, free: 6.027 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.532e-05/0.03189, allocations: 20 kB / 268 MB, free: 6.008 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/0.03302, allocations: 0.5152 MB / 268.5 MB, free: 5.496 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004592/0.03761, allocations: 2.974 MB / 271.5 MB, free: 2.336 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005365/0.03815, allocations: 214.5 kB / 271.7 MB, free: 2.117 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002745/0.03842, allocations: 113.2 kB / 271.8 MB, free: 2.004 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.195e-05/0.03845, allocations: 7.938 kB / 271.8 MB, free: 1.996 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.03849, allocations: 38.56 kB / 271.8 MB, free: 1.949 MB / 250.7 MB Notification: Performance of pre-optimization done (n=25): time 1.383e-06/0.03849, allocations: 0 / 271.8 MB, free: 1.949 MB / 250.7 MB Notification: Performance of matching and sorting (n=28): time 0.002165/0.04066, allocations: 0.905 MB / 272.7 MB, free: 1.008 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.588e-05/0.04072, allocations: 85.05 kB / 272.8 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009873/0.04171, allocations: 0.6758 MB / 273.5 MB, free: 228 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.642e-05/0.04175, allocations: 33.7 kB / 273.5 MB, free: 188 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000464/0.04221, allocations: 0.5033 MB / 274 MB, free: 15.67 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.04233, allocations: 111.1 kB / 274.1 MB, free: 15.56 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/0.04251, allocations: 118.2 kB / 274.3 MB, free: 15.44 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000351/0.04286, allocations: 370.8 kB / 274.6 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002983/0.04316, allocations: 125.2 kB / 274.7 MB, free: 14.95 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006112/0.04377, allocations: 443.9 kB / 275.2 MB, free: 14.37 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000947/0.04472, allocations: 0.5716 MB / 275.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.04472, allocations: 8 kB / 275.8 MB, free: 13.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001236/0.04596, allocations: 0.631 MB / 276.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.04598, allocations: 8 kB / 276.4 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.985e-05/0.046, allocations: 15.94 kB / 276.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000169/0.04617, allocations: 28.86 kB / 276.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004773/0.04664, allocations: 143.7 kB / 276.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001307/0.04795, allocations: 1.264 MB / 277.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004596/0.04841, allocations: 35.94 kB / 277.9 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-05/0.04846, allocations: 28 kB / 277.9 MB, free: 11.39 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.0003655/0.04882, allocations: 241.5 kB / 278.1 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.04895, allocations: 75.58 kB / 278.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007612/0.04971, allocations: 317 kB / 278.5 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.04972, allocations: 4 kB / 278.5 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.04972, allocations: 0 / 278.5 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.04973, allocations: 3.984 kB / 278.5 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001719/0.05145, allocations: 0.899 MB / 279.4 MB, free: 9.773 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.05145, allocations: 0 / 279.4 MB, free: 9.773 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002905/0.05174, allocations: 71.83 kB / 279.5 MB, free: 9.703 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.998e-05/0.05184, allocations: 20.86 kB / 279.5 MB, free: 9.68 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.539e-05/0.05187, allocations: 11.98 kB / 279.5 MB, free: 9.668 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001192/0.05306, allocations: 1.245 MB / 280.8 MB, free: 8.324 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.745e-06/0.05307, allocations: 8.016 kB / 280.8 MB, free: 8.316 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.05423, allocations: 0.5496 MB / 281.3 MB, free: 7.727 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002038/0.05444, allocations: 95.66 kB / 281.4 MB, free: 7.633 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.136e-05/0.05451, allocations: 12.12 kB / 281.4 MB, free: 7.621 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003238/0.05483, allocations: 19.92 kB / 281.5 MB, free: 7.602 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.637e-05/0.05491, allocations: 27.89 kB / 281.5 MB, free: 7.574 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/0.05493, allocations: 12 kB / 281.5 MB, free: 7.562 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0007001/0.05563, allocations: 463 kB / 281.9 MB, free: 7.113 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05563, allocations: 0 / 281.9 MB, free: 7.113 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007028/0.05633, allocations: 163.9 kB / 282.1 MB, free: 6.953 MB / 266.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.0002275/0.05656, allocations: 119.2 kB / 282.2 MB, free: 6.828 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00101/0.05757, allocations: 458 kB / 282.7 MB, free: 6.371 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.05757, allocations: 0 / 282.7 MB, free: 6.371 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004188/0.05799, allocations: 236.2 kB / 282.9 MB, free: 6.129 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000922/0.05891, allocations: 186.8 kB / 283.1 MB, free: 5.957 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00251/0.06142, allocations: 1.357 MB / 284.4 MB, free: 4.539 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004237/0.06184, allocations: 348.5 kB / 284.8 MB, free: 4.172 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000299/0.06214, allocations: 81.48 kB / 284.9 MB, free: 4.09 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.06226, allocations: 48.5 kB / 284.9 MB, free: 4.043 MB / 266.7 MB Notification: Performance of SimCode: time 1.041e-06/0.06226, allocations: 0 / 284.9 MB, free: 4.043 MB / 266.7 MB Notification: Performance of Templates: time 0.01808/0.08034, allocations: 7.954 MB / 292.9 MB, free: 12.14 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_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/DCPM_Start/DCPM_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.72669795807451]