Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.001567/0.001567, 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.001893/0.001893, allocations: 213.4 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.445/1.445, allocations: 230.6 MB / 257.5 MB, free: 8.035 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.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.1.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.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001661, allocations: 47.94 kB / 378.3 MB, free: 2.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2607, allocations: 53.36 MB / 431.6 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.0113/0.272, allocations: 8.065 MB / 439.7 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00511/0.2771, allocations: 2.649 MB / 442.3 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00097/0.278, allocations: 27.88 kB / 442.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001821/0.2799, allocations: 0.5751 MB / 442.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001586/0.2815, allocations: 492.4 kB / 443.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006877/0.2821, allocations: 239.7 kB / 443.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00212/0.2843, allocations: 1.432 MB / 445.1 MB, free: 9.418 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008583/0.2851, allocations: 407.3 kB / 445.5 MB, free: 8.992 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001036/0.2862, allocations: 0.5681 MB / 446.1 MB, free: 8.422 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001047/0.2872, allocations: 0.5871 MB / 446.6 MB, free: 7.832 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003065/0.2875, allocations: 136 kB / 446.8 MB, free: 7.699 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005171/0.288, allocations: 172 kB / 446.9 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003151/0.2883, allocations: 271 kB / 447.2 MB, free: 7.266 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009535/0.2893, allocations: 0.6493 MB / 447.9 MB, free: 6.613 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001996/0.2913, allocations: 1.708 MB / 449.6 MB, free: 4.898 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2913, allocations: 0 / 449.6 MB, free: 4.898 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2913, allocations: 0 / 449.6 MB, free: 4.898 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.43e-05/0.2913, allocations: 0 / 449.6 MB, free: 4.898 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.002416/0.2937, allocations: 1.388 MB / 451 MB, free: 3.477 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.2938, allocations: 8.031 kB / 451 MB, free: 3.469 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005752/0.2943, allocations: 176.1 kB / 451.1 MB, free: 3.297 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001239/0.2956, allocations: 0.6572 MB / 451.8 MB, free: 2.613 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.02e-05/0.2956, allocations: 74 kB / 451.9 MB, free: 2.543 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/0.2958, allocations: 96 kB / 452 MB, free: 2.449 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/0.2974, allocations: 0.9268 MB / 452.9 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.571e-05/0.2974, allocations: 7.938 kB / 452.9 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.017e-05/0.2975, allocations: 36 kB / 452.9 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.224e-05/0.2975, allocations: 27.94 kB / 453 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001249/0.2988, allocations: 0.6207 MB / 453.6 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005098/0.3039, allocations: 3.776 MB / 457.4 MB, free: 12.8 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005685/0.3044, allocations: 266 kB / 457.6 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003032/0.3047, allocations: 151.4 kB / 457.8 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.948e-05/0.3048, allocations: 4 kB / 457.8 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.3048, allocations: 34.56 kB / 457.8 MB, free: 12.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.034e-06/0.3048, allocations: 0 / 457.8 MB, free: 12.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.002325/0.3071, allocations: 1.051 MB / 458.8 MB, free: 11.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.495e-05/0.3072, allocations: 81.11 kB / 458.9 MB, free: 11.15 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/0.3084, allocations: 0.8176 MB / 459.7 MB, free: 10.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.3084, allocations: 37.7 kB / 459.8 MB, free: 10.28 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004718/0.3089, allocations: 0.585 MB / 460.4 MB, free: 9.688 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.309, allocations: 134.9 kB / 460.5 MB, free: 9.555 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001749/0.3092, allocations: 126.6 kB / 460.6 MB, free: 9.426 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.3093, allocations: 334 kB / 460.9 MB, free: 9.094 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003318/0.3096, allocations: 145.9 kB / 461.1 MB, free: 8.949 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005757/0.3102, allocations: 456 kB / 461.5 MB, free: 8.363 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009674/0.3112, allocations: 0.6513 MB / 462.2 MB, free: 7.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.3112, allocations: 4 kB / 462.2 MB, free: 7.566 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001336/0.3125, allocations: 0.6852 MB / 462.9 MB, free: 6.871 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.3126, allocations: 16.02 kB / 462.9 MB, free: 6.855 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.781e-05/0.3126, allocations: 12 kB / 462.9 MB, free: 6.844 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001612/0.3127, allocations: 28.86 kB / 462.9 MB, free: 6.812 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005177/0.3133, allocations: 159.7 kB / 463.1 MB, free: 6.656 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001193/0.3144, allocations: 1.287 MB / 464.4 MB, free: 5.258 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005159/0.315, allocations: 39.92 kB / 464.4 MB, free: 5.219 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.933e-05/0.315, allocations: 40.12 kB / 464.5 MB, free: 5.18 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.0003686/0.3154, allocations: 257.8 kB / 464.7 MB, free: 4.918 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/0.3155, allocations: 91.38 kB / 464.8 MB, free: 4.828 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008152/0.3163, allocations: 378.3 kB / 465.2 MB, free: 4.441 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.3163, allocations: 12.03 kB / 465.2 MB, free: 4.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.3164, allocations: 0 / 465.2 MB, free: 4.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.3164, allocations: 0 / 465.2 MB, free: 4.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002052/0.3184, allocations: 1.242 MB / 466.4 MB, free: 3.113 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3184, allocations: 0 / 466.4 MB, free: 3.113 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003295/0.3187, allocations: 75.84 kB / 466.5 MB, free: 3.039 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.932e-05/0.3188, allocations: 20.84 kB / 466.5 MB, free: 3.016 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/0.3189, allocations: 12 kB / 466.5 MB, free: 3.004 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001123/0.32, allocations: 1.271 MB / 467.8 MB, free: 1.621 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.349e-06/0.32, allocations: 12.03 kB / 467.8 MB, free: 1.609 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/0.3211, allocations: 0.6245 MB / 468.4 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002627/0.3213, allocations: 115.4 kB / 468.5 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.3214, allocations: 12 kB / 468.6 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003897/0.3218, allocations: 27.92 kB / 468.6 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.021e-05/0.3219, allocations: 31.89 kB / 468.6 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.3219, allocations: 11.98 kB / 468.6 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008525/0.3228, allocations: 0.5576 MB / 469.2 MB, free: 196 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3228, allocations: 0 / 469.2 MB, free: 196 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008404/0.3236, allocations: 188 kB / 469.4 MB, free: 8 kB / 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.0003029/0.3239, allocations: 135.1 kB / 469.5 MB, free: 15.87 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001251/0.3252, allocations: 0.4887 MB / 470 MB, free: 15.37 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.3252, allocations: 0 / 470 MB, free: 15.37 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004832/0.3257, allocations: 259.1 kB / 470.2 MB, free: 15.1 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.3267, allocations: 227.9 kB / 470.5 MB, free: 14.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003351/0.3301, allocations: 1.707 MB / 472.2 MB, free: 13.12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008679/0.331, allocations: 0.9923 MB / 473.2 MB, free: 12.1 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003992/0.3314, allocations: 102.9 kB / 473.3 MB, free: 12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.3315, allocations: 51.44 kB / 473.3 MB, free: 11.95 MB / 382.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3315, allocations: 3.938 kB / 473.3 MB, free: 11.94 MB / 382.1 MB Notification: Performance of Templates: time 0.02323/0.3547, allocations: 10.12 MB / 483.4 MB, free: 1.938 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 4.896770874969661]