Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001868/0.001868, allocations: 108.6 kB / 21.19 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002145/0.002145, allocations: 193.1 kB / 24.47 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 47.92 kB / 371.7 MB, free: 9.352 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2485, allocations: 52.18 MB / 423.9 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01042/0.2589, allocations: 8.058 MB / 431.9 MB, free: 6.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004912/0.2638, allocations: 2.606 MB / 434.6 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009313/0.2647, allocations: 27.88 kB / 434.6 MB, free: 3.949 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001536/0.2663, allocations: 0.5676 MB / 435.1 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001255/0.2675, allocations: 496.4 kB / 435.6 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005468/0.2681, allocations: 239.7 kB / 435.9 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001792/0.2699, allocations: 1.439 MB / 437.3 MB, free: 1.215 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006857/0.2706, allocations: 403.3 kB / 437.7 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007671/0.2713, allocations: 0.5525 MB / 438.2 MB, free: 248 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007804/0.2721, allocations: 0.5872 MB / 438.8 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001799/0.2723, allocations: 136 kB / 439 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003441/0.2726, allocations: 176 kB / 439.1 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002366/0.2729, allocations: 278.9 kB / 439.4 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000626/0.2735, allocations: 0.6493 MB / 440.1 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002038/0.2755, allocations: 1.702 MB / 441.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.2755, allocations: 0 / 441.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2755, allocations: 3.938 kB / 441.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.126e-05/0.2756, allocations: 0 / 441.8 MB, free: 12.71 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002484/0.278, allocations: 1.388 MB / 443.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.2781, allocations: 8.031 kB / 443.2 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005814/0.2787, allocations: 176 kB / 443.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/0.2799, allocations: 0.6689 MB / 444 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.746e-05/0.28, allocations: 70 kB / 444.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/0.2801, allocations: 96 kB / 444.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/0.2817, allocations: 0.9229 MB / 445.1 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.608e-05/0.2817, allocations: 3.953 kB / 445.1 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.626e-05/0.2818, allocations: 40 kB / 445.1 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.396e-05/0.2818, allocations: 24 kB / 445.2 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/0.283, allocations: 0.6246 MB / 445.8 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00519/0.2882, allocations: 3.772 MB / 449.6 MB, free: 4.598 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005483/0.2888, allocations: 246.6 kB / 449.8 MB, free: 4.348 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002811/0.2891, allocations: 144.7 kB / 449.9 MB, free: 4.203 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.2891, allocations: 0 / 449.9 MB, free: 4.203 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.344e-05/0.2891, allocations: 46.56 kB / 450 MB, free: 4.148 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.843e-06/0.2891, allocations: 0 / 450 MB, free: 4.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.002292/0.2914, allocations: 1.066 MB / 451 MB, free: 3.047 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.71e-05/0.2915, allocations: 85.05 kB / 451.1 MB, free: 2.945 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/0.2926, allocations: 0.8215 MB / 452 MB, free: 2.117 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.076e-05/0.2927, allocations: 33.7 kB / 452 MB, free: 2.078 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004465/0.2931, allocations: 0.5811 MB / 452.6 MB, free: 1.488 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/0.2932, allocations: 138.8 kB / 452.7 MB, free: 1.352 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/0.2934, allocations: 126.6 kB / 452.8 MB, free: 1.223 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.2935, allocations: 341.9 kB / 453.2 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003064/0.2938, allocations: 145.9 kB / 453.3 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005396/0.2944, allocations: 452 kB / 453.7 MB, free: 156 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008839/0.2953, allocations: 0.6446 MB / 454.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.2953, allocations: 0 / 454.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00121/0.2965, allocations: 0.6923 MB / 455.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.2965, allocations: 8.812 kB / 455.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.2965, allocations: 15.94 kB / 455.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001638/0.2967, allocations: 36.84 kB / 455.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004885/0.2972, allocations: 155.7 kB / 455.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00111/0.2983, allocations: 1.283 MB / 456.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000502/0.2988, allocations: 39.94 kB / 456.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.211e-05/0.2988, allocations: 32 kB / 456.6 MB, free: 12.98 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (84): * Single equations (assignments): 83 * 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.0003764/0.2992, allocations: 254.2 kB / 456.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.2993, allocations: 95.38 kB / 457 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007506/0.3001, allocations: 370.1 kB / 457.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.3001, allocations: 4 kB / 457.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.3001, allocations: 0 / 457.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.3001, allocations: 7.984 kB / 457.4 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001895/0.302, allocations: 1.235 MB / 458.6 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.302, allocations: 0 / 458.6 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003185/0.3023, allocations: 75.83 kB / 458.7 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.111e-05/0.3024, allocations: 24.84 kB / 458.7 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.265e-05/0.3024, allocations: 8 kB / 458.7 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001009/0.3034, allocations: 1.268 MB / 460 MB, free: 9.445 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.239e-06/0.3034, allocations: 4 kB / 460 MB, free: 9.441 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.3045, allocations: 0.6408 MB / 460.6 MB, free: 8.758 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002652/0.3047, allocations: 111.4 kB / 460.7 MB, free: 8.648 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.05e-05/0.3048, allocations: 11.98 kB / 460.7 MB, free: 8.637 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003657/0.3052, allocations: 27.86 kB / 460.8 MB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.984e-05/0.3053, allocations: 39.89 kB / 460.8 MB, free: 8.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.3053, allocations: 11.94 kB / 460.8 MB, free: 8.559 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008048/0.3061, allocations: 0.5615 MB / 461.4 MB, free: 8 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3061, allocations: 0 / 461.4 MB, free: 8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000724/0.3068, allocations: 188 kB / 461.6 MB, free: 7.816 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,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 (34): * Single equations (assignments): 33 * 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.0002072/0.307, allocations: 128.8 kB / 461.7 MB, free: 7.684 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001/0.308, allocations: 499.1 kB / 462.2 MB, free: 7.184 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.308, allocations: 0 / 462.2 MB, free: 7.184 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004241/0.3084, allocations: 268.2 kB / 462.4 MB, free: 6.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009882/0.3094, allocations: 222.9 kB / 462.6 MB, free: 6.695 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003241/0.3127, allocations: 1.754 MB / 464.4 MB, free: 4.883 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007384/0.3134, allocations: 0.9884 MB / 465.4 MB, free: 3.867 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/0.3136, allocations: 59.42 kB / 465.4 MB, free: 3.809 MB / 366.1 MB Notification: Performance of SimCode: time 1.413e-06/0.3136, allocations: 0 / 465.4 MB, free: 3.809 MB / 366.1 MB Notification: Performance of Templates: time 0.02467/0.3382, allocations: 15.9 MB / 481.3 MB, free: 3.953 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.761208362877369]