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.001373/0.001373, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.001418/0.001418, allocations: 213.7 kB / 23.74 MB, free: 4.688 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.528/1.528, allocations: 230.6 MB / 257.5 MB, free: 8.039 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.001594/0.001594, allocations: 47.92 kB / 378.3 MB, free: 2.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2414, allocations: 53.36 MB / 431.6 MB, free: 6.965 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.009371/0.2507, allocations: 7.217 MB / 438.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003801/0.2545, allocations: 2.407 MB / 441.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003777/0.2549, allocations: 19.94 kB / 441.3 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001175/0.2561, allocations: 0.5123 MB / 441.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007263/0.2568, allocations: 413 kB / 442.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003686/0.2572, allocations: 203.8 kB / 442.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001427/0.2586, allocations: 1.206 MB / 443.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005835/0.2592, allocations: 340.5 kB / 443.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000649/0.2598, allocations: 486.1 kB / 444.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005908/0.2604, allocations: 493.8 kB / 444.9 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001376/0.2606, allocations: 112 kB / 445 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002731/0.2608, allocations: 160 kB / 445.2 MB, free: 9.375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000185/0.261, allocations: 235.1 kB / 445.4 MB, free: 9.145 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005372/0.2616, allocations: 0.5443 MB / 445.9 MB, free: 8.598 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001585/0.2632, allocations: 1.432 MB / 447.4 MB, free: 7.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2632, allocations: 0 / 447.4 MB, free: 7.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2632, allocations: 4 kB / 447.4 MB, free: 7.156 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.2632, allocations: 3.984 kB / 447.4 MB, free: 7.152 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.002073/0.2652, allocations: 1.205 MB / 448.6 MB, free: 5.914 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.2653, allocations: 8.031 kB / 448.6 MB, free: 5.906 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005107/0.2658, allocations: 148.2 kB / 448.7 MB, free: 5.762 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.2669, allocations: 0.5843 MB / 449.3 MB, free: 5.145 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.075e-05/0.2669, allocations: 54.38 kB / 449.4 MB, free: 5.094 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.2671, allocations: 84.33 kB / 449.4 MB, free: 5.012 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001335/0.2684, allocations: 0.7832 MB / 450.2 MB, free: 4.195 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.9e-05/0.2684, allocations: 0 / 450.2 MB, free: 4.195 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.12e-05/0.2685, allocations: 36 kB / 450.3 MB, free: 4.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.304e-05/0.2685, allocations: 23.98 kB / 450.3 MB, free: 4.137 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00107/0.2696, allocations: 0.5153 MB / 450.8 MB, free: 3.621 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004315/0.2739, allocations: 3.278 MB / 454.1 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005078/0.2744, allocations: 210.6 kB / 454.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002499/0.2747, allocations: 112.8 kB / 454.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.2747, allocations: 4 kB / 454.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.2747, allocations: 30.56 kB / 454.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.543e-06/0.2747, allocations: 0 / 454.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.001995/0.2767, allocations: 0.9207 MB / 455.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.963e-05/0.2768, allocations: 77.34 kB / 455.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.2778, allocations: 0.7311 MB / 456.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.808e-05/0.2778, allocations: 29.7 kB / 456.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003999/0.2782, allocations: 0.5111 MB / 456.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.51e-05/0.2783, allocations: 103.1 kB / 456.8 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/0.2785, allocations: 114.2 kB / 456.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001988/0.2787, allocations: 382.8 kB / 457.3 MB, free: 12.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002801/0.279, allocations: 117.2 kB / 457.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005146/0.2795, allocations: 426.2 kB / 457.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008356/0.2803, allocations: 0.5753 MB / 458.4 MB, free: 11.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.2803, allocations: 7.938 kB / 458.4 MB, free: 11.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001096/0.2814, allocations: 0.6148 MB / 459 MB, free: 10.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.2814, allocations: 12.81 kB / 459 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/0.2814, allocations: 8 kB / 459 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001531/0.2816, allocations: 40.84 kB / 459.1 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004453/0.282, allocations: 139.7 kB / 459.2 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00111/0.2832, allocations: 1.291 MB / 460.5 MB, free: 9.215 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004142/0.2836, allocations: 31.94 kB / 460.5 MB, free: 9.184 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.476e-05/0.2836, allocations: 40 kB / 460.6 MB, free: 9.145 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.0002997/0.2839, allocations: 237.6 kB / 460.8 MB, free: 8.902 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.284, allocations: 75.53 kB / 460.9 MB, free: 8.828 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006656/0.2847, allocations: 321.5 kB / 461.2 MB, free: 8.504 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.2847, allocations: 4 kB / 461.2 MB, free: 8.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.2847, allocations: 0 / 461.2 MB, free: 8.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.2847, allocations: 3.984 kB / 461.2 MB, free: 8.496 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001681/0.2864, allocations: 1.064 MB / 462.3 MB, free: 7.355 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.2864, allocations: 0 / 462.3 MB, free: 7.355 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002729/0.2867, allocations: 63.89 kB / 462.3 MB, free: 7.293 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.527e-05/0.2867, allocations: 16.86 kB / 462.3 MB, free: 7.273 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/0.2868, allocations: 11.98 kB / 462.4 MB, free: 7.262 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001012/0.2878, allocations: 1.275 MB / 463.6 MB, free: 5.867 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.2878, allocations: 4 kB / 463.6 MB, free: 5.863 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009118/0.2887, allocations: 0.5532 MB / 464.2 MB, free: 5.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000206/0.2889, allocations: 99.52 kB / 464.3 MB, free: 5.172 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.034e-05/0.289, allocations: 8 kB / 464.3 MB, free: 5.164 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003342/0.2893, allocations: 19.98 kB / 464.3 MB, free: 5.145 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.315e-05/0.2894, allocations: 35.83 kB / 464.3 MB, free: 5.109 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.2894, allocations: 8 kB / 464.4 MB, free: 5.102 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006742/0.2901, allocations: 0.4991 MB / 464.9 MB, free: 4.605 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2901, allocations: 0 / 464.9 MB, free: 4.605 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006108/0.2907, allocations: 160 kB / 465 MB, free: 4.449 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.0001994/0.2909, allocations: 127.1 kB / 465.1 MB, free: 4.316 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008876/0.2918, allocations: 456.3 kB / 465.6 MB, free: 3.859 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.2918, allocations: 0 / 465.6 MB, free: 3.859 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000388/0.2922, allocations: 232 kB / 465.8 MB, free: 3.621 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008967/0.2931, allocations: 191.9 kB / 466 MB, free: 3.441 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002317/0.2954, allocations: 1.46 MB / 467.5 MB, free: 1.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005923/0.296, allocations: 0.9411 MB / 468.4 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002709/0.2962, allocations: 86.03 kB / 468.5 MB, free: 0.875 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.2963, allocations: 47.44 kB / 468.5 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2963, allocations: 0 / 468.5 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of Templates: time 0.01711/0.3134, allocations: 8.679 MB / 477.2 MB, free: 8.246 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/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.903992990031838]