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.001408/0.001408, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.00218/0.00218, allocations: 191.7 kB / 23.71 MB, free: 4.406 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.5/1.5, allocations: 225.7 MB / 252.5 MB, free: 12.8 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.002312/0.002312, allocations: 47.92 kB / 370.9 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2649, allocations: 52.17 MB / 423.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.009536/0.2744, allocations: 7.064 MB / 430.1 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004519/0.279, allocations: 2.416 MB / 432.6 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005472/0.2795, allocations: 27.88 kB / 432.6 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001315/0.2808, allocations: 0.517 MB / 433.1 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009021/0.2817, allocations: 488.4 kB / 433.6 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000433/0.2822, allocations: 243.7 kB / 433.8 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001455/0.2836, allocations: 1.432 MB / 435.2 MB, free: 2.246 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006422/0.2843, allocations: 379.3 kB / 435.6 MB, free: 1.852 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007084/0.285, allocations: 0.5564 MB / 436.2 MB, free: 1.293 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006356/0.2856, allocations: 0.5013 MB / 436.7 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001638/0.2858, allocations: 132 kB / 436.8 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000328/0.2861, allocations: 180 kB / 437 MB, free: 496 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002171/0.2863, allocations: 271 kB / 437.2 MB, free: 224 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005402/0.2868, allocations: 0.5251 MB / 437.8 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001803/0.2887, allocations: 1.712 MB / 439.5 MB, free: 13.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.2887, allocations: 0 / 439.5 MB, free: 13.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2887, allocations: 0 / 439.5 MB, free: 13.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.2887, allocations: 0 / 439.5 MB, free: 13.97 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.002297/0.291, allocations: 1.388 MB / 440.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.291, allocations: 16.02 kB / 440.9 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005513/0.2916, allocations: 176 kB / 441.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/0.2928, allocations: 0.6611 MB / 441.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.072e-05/0.2929, allocations: 74 kB / 441.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/0.293, allocations: 92 kB / 441.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001628/0.2946, allocations: 0.9982 MB / 442.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.505e-05/0.2947, allocations: 7.938 kB / 442.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.971e-05/0.2947, allocations: 44 kB / 442.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.007e-05/0.2948, allocations: 20 kB / 442.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001246/0.296, allocations: 0.6207 MB / 443.6 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004754/0.3008, allocations: 3.36 MB / 446.9 MB, free: 6.188 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005601/0.3013, allocations: 249.4 kB / 447.2 MB, free: 5.938 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002875/0.3016, allocations: 140.8 kB / 447.3 MB, free: 5.797 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.3016, allocations: 8 kB / 447.3 MB, free: 5.789 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.3017, allocations: 42.48 kB / 447.4 MB, free: 5.738 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 2.024e-06/0.3017, allocations: 0 / 447.4 MB, free: 5.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.002325/0.304, allocations: 1.046 MB / 448.4 MB, free: 4.656 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.3041, allocations: 81.11 kB / 448.5 MB, free: 4.559 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/0.3051, allocations: 0.7504 MB / 449.2 MB, free: 3.805 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.375e-05/0.3051, allocations: 37.64 kB / 449.3 MB, free: 3.762 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000459/0.3056, allocations: 0.5889 MB / 449.9 MB, free: 3.164 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.3057, allocations: 130.9 kB / 450 MB, free: 3.035 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000165/0.3058, allocations: 130.6 kB / 450.1 MB, free: 2.902 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001974/0.306, allocations: 386.8 kB / 450.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003182/0.3064, allocations: 149.9 kB / 450.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000557/0.3069, allocations: 481.7 kB / 451.1 MB, free: 1.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008993/0.3078, allocations: 0.6369 MB / 451.7 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.3078, allocations: 4 kB / 451.7 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001193/0.309, allocations: 0.6812 MB / 452.4 MB, free: 284 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.309, allocations: 12 kB / 452.4 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.3091, allocations: 8 kB / 452.4 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001581/0.3092, allocations: 36.8 kB / 452.5 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004857/0.3097, allocations: 155.7 kB / 452.6 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001103/0.3108, allocations: 1.268 MB / 453.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004315/0.3112, allocations: 35.94 kB / 453.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.633e-05/0.3113, allocations: 36 kB / 454 MB, free: 14.63 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.0003394/0.3116, allocations: 257.5 kB / 454.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.3117, allocations: 79.69 kB / 454.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007544/0.3125, allocations: 365.2 kB / 454.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.3125, allocations: 11.88 kB / 454.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.3125, allocations: 0 / 454.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.3125, allocations: 3.984 kB / 454.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00172/0.3142, allocations: 1.037 MB / 455.7 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.3142, allocations: 48 / 455.7 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003148/0.3145, allocations: 79.88 kB / 455.8 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.758e-05/0.3146, allocations: 24.78 kB / 455.8 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.473e-05/0.3146, allocations: 12 kB / 455.8 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001005/0.3156, allocations: 1.249 MB / 457.1 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.3156, allocations: 0 / 457.1 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.3167, allocations: 0.6292 MB / 457.7 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002208/0.3169, allocations: 111.6 kB / 457.8 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.197e-05/0.317, allocations: 12 kB / 457.8 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003368/0.3173, allocations: 19.98 kB / 457.8 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.312e-05/0.3174, allocations: 27.89 kB / 457.9 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.3174, allocations: 16 kB / 457.9 MB, free: 10.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006574/0.3181, allocations: 0.4951 MB / 458.4 MB, free: 9.988 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3181, allocations: 7.938 kB / 458.4 MB, free: 9.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00066/0.3187, allocations: 187.9 kB / 458.6 MB, free: 9.797 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.0001961/0.3189, allocations: 126.7 kB / 458.7 MB, free: 9.668 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009384/0.3199, allocations: 0.4963 MB / 459.2 MB, free: 9.164 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.3199, allocations: 4 kB / 459.2 MB, free: 9.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004206/0.3203, allocations: 255.2 kB / 459.4 MB, free: 8.898 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008782/0.3212, allocations: 186.4 kB / 459.6 MB, free: 8.719 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002683/0.3238, allocations: 1.706 MB / 461.3 MB, free: 6.957 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004435/0.3243, allocations: 408.7 kB / 461.7 MB, free: 6.527 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003016/0.3246, allocations: 94.3 kB / 461.8 MB, free: 6.434 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.3247, allocations: 47.44 kB / 461.9 MB, free: 6.387 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3247, allocations: 0 / 461.9 MB, free: 6.387 MB / 366.1 MB Notification: Performance of Templates: time 0.01914/0.3438, allocations: 10.35 MB / 472.2 MB, free: 12.23 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins/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: 4.93134062923491]