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.001676/0.001676, allocations: 111.5 kB / 21.93 MB, free: 5.223 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.001923/0.001923, allocations: 213.5 kB / 25.22 MB, free: 3.027 MB / 14.72 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.474/1.474, allocations: 207.7 MB / 236.1 MB, free: 9.812 MB / 190.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 59.91 kB / 348.5 MB, free: 9.379 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2589, allocations: 49.16 MB / 397.6 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.006947/0.2659, allocations: 6.305 MB / 403.9 MB, free: 5.223 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003788/0.2697, allocations: 2.221 MB / 406.1 MB, free: 3.656 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007169/0.2704, allocations: 20.81 kB / 406.2 MB, free: 3.652 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001308/0.2717, allocations: 481 kB / 406.6 MB, free: 3.43 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009119/0.2726, allocations: 410.4 kB / 407 MB, free: 3.137 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003904/0.273, allocations: 200.6 kB / 407.2 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001123/0.2741, allocations: 1.204 MB / 408.4 MB, free: 2.355 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004943/0.2746, allocations: 315.2 kB / 408.7 MB, free: 2.164 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000574/0.2752, allocations: 476.4 kB / 409.2 MB, free: 1.926 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004798/0.2757, allocations: 430.3 kB / 409.6 MB, free: 1.727 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001356/0.2758, allocations: 118.3 kB / 409.7 MB, free: 1.723 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002956/0.2761, allocations: 149 kB / 409.9 MB, free: 1.715 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001402/0.2762, allocations: 233.4 kB / 410.1 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003689/0.2766, allocations: 444.7 kB / 410.5 MB, free: 1.305 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001337/0.2779, allocations: 1.447 MB / 412 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2779, allocations: 0 / 412 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.278, allocations: 0 / 412 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.466e-05/0.278, allocations: 1.188 kB / 412 MB, free: 0.4922 MB / 318.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.001948/0.2799, allocations: 1.21 MB / 413.2 MB, free: 15.56 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.28, allocations: 17.27 kB / 413.2 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005009/0.2805, allocations: 152.6 kB / 413.4 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.2816, allocations: 0.5824 MB / 414 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.389e-05/0.2816, allocations: 62.12 kB / 414 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.2818, allocations: 78.91 kB / 414.1 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001363/0.2831, allocations: 0.8335 MB / 414.9 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.348e-05/0.2832, allocations: 10.14 kB / 414.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.351e-05/0.2832, allocations: 30.62 kB / 415 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/0.2832, allocations: 20.12 kB / 415 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/0.2843, allocations: 0.5163 MB / 415.5 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004085/0.2883, allocations: 2.912 MB / 418.4 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005307/0.2889, allocations: 227.3 kB / 418.6 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002436/0.2891, allocations: 107 kB / 418.7 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.069e-05/0.2891, allocations: 2.188 kB / 418.7 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.2892, allocations: 37.38 kB / 418.8 MB, free: 11.38 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 2.354e-06/0.2892, allocations: 0 / 418.8 MB, free: 11.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=28): time 0.00212/0.2913, allocations: 0.9093 MB / 419.7 MB, free: 10.78 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.124e-05/0.2914, allocations: 80.48 kB / 419.8 MB, free: 10.69 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009311/0.2923, allocations: 0.6819 MB / 420.4 MB, free: 10.28 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.2923, allocations: 31.8 kB / 420.5 MB, free: 10.24 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003829/0.2927, allocations: 0.5165 MB / 421 MB, free: 9.773 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.909e-05/0.2928, allocations: 105.8 kB / 421.1 MB, free: 9.684 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/0.2929, allocations: 122.2 kB / 421.2 MB, free: 9.602 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.2931, allocations: 367.7 kB / 421.6 MB, free: 9.246 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002706/0.2934, allocations: 128.6 kB / 421.7 MB, free: 9.184 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005061/0.2939, allocations: 440.5 kB / 422.1 MB, free: 8.711 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008195/0.2947, allocations: 0.57 MB / 422.7 MB, free: 8.176 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.2947, allocations: 2.75 kB / 422.7 MB, free: 8.176 MB / 334.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001073/0.2958, allocations: 0.6075 MB / 423.3 MB, free: 7.852 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.2958, allocations: 8.906 kB / 423.3 MB, free: 7.852 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.2958, allocations: 10.53 kB / 423.3 MB, free: 7.852 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001552/0.296, allocations: 34.41 kB / 423.4 MB, free: 7.836 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004214/0.2964, allocations: 141.8 kB / 423.5 MB, free: 7.801 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001076/0.2975, allocations: 1.265 MB / 424.8 MB, free: 6.523 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004777/0.298, allocations: 37.78 kB / 424.8 MB, free: 6.504 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.969e-05/0.298, allocations: 34.19 kB / 424.8 MB, free: 6.496 MB / 334.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.0003694/0.2984, allocations: 232.6 kB / 425.1 MB, free: 6.305 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.2985, allocations: 67.45 kB / 425.1 MB, free: 6.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000647/0.2991, allocations: 323.7 kB / 425.4 MB, free: 6.066 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.2991, allocations: 8.031 kB / 425.5 MB, free: 6.062 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.2991, allocations: 3.938 kB / 425.5 MB, free: 6.059 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.2992, allocations: 0 / 425.5 MB, free: 6.059 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001534/0.3007, allocations: 0.9005 MB / 426.4 MB, free: 5.371 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.3007, allocations: 1.469 kB / 426.4 MB, free: 5.371 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002551/0.3009, allocations: 60.84 kB / 426.4 MB, free: 5.355 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.287e-05/0.301, allocations: 24.28 kB / 426.4 MB, free: 5.34 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.301, allocations: 6.969 kB / 426.4 MB, free: 5.336 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009985/0.302, allocations: 1.243 MB / 427.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/0.3021, allocations: 5.281 kB / 427.7 MB, free: 4.07 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009665/0.303, allocations: 0.548 MB / 428.2 MB, free: 3.5 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002425/0.3033, allocations: 99.62 kB / 428.3 MB, free: 3.402 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.585e-05/0.3033, allocations: 11.98 kB / 428.4 MB, free: 3.391 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003097/0.3036, allocations: 19.98 kB / 428.4 MB, free: 3.371 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.862e-05/0.3037, allocations: 23.91 kB / 428.4 MB, free: 3.348 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/0.3037, allocations: 15.92 kB / 428.4 MB, free: 3.332 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006717/0.3044, allocations: 463.1 kB / 428.9 MB, free: 2.883 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3044, allocations: 0 / 428.9 MB, free: 2.883 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007562/0.3052, allocations: 156 kB / 429 MB, free: 2.73 MB / 334.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.0002147/0.3054, allocations: 115.2 kB / 429.1 MB, free: 2.609 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009635/0.3064, allocations: 442.9 kB / 429.6 MB, free: 2.164 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.3064, allocations: 5.875 kB / 429.6 MB, free: 2.16 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003947/0.3068, allocations: 234.9 kB / 429.8 MB, free: 1.918 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008915/0.3076, allocations: 182.7 kB / 430 MB, free: 1.742 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002424/0.3101, allocations: 1.464 MB / 431.4 MB, free: 220 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003829/0.3105, allocations: 348.5 kB / 431.8 MB, free: 15.85 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.3106, allocations: 47.44 kB / 431.8 MB, free: 15.8 MB / 350.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3106, allocations: 0 / 431.8 MB, free: 15.8 MB / 350.1 MB Notification: Performance of Templates: time 0.01918/0.3298, allocations: 13.57 MB / 445.4 MB, free: 2.207 MB / 350.1 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/jenkins1/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/jenkins1/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: 8.36260542506352]