Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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.001925/0.001925, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001537/0.001537, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.486/1.486, allocations: 230.6 MB / 257.5 MB, free: 7.82 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_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002251/0.002251, allocations: 59.86 kB / 378.2 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.2834, allocations: 53.37 MB / 431.6 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.009977/0.2934, allocations: 7.075 MB / 438.7 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004827/0.2982, allocations: 2.47 MB / 441.1 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005113/0.2987, allocations: 23.94 kB / 441.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001269/0.3, allocations: 491.6 kB / 441.6 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009036/0.3009, allocations: 432.8 kB / 442.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004594/0.3014, allocations: 219.6 kB / 442.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001639/0.303, allocations: 1.23 MB / 443.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005981/0.3036, allocations: 350.5 kB / 443.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006856/0.3043, allocations: 0.4903 MB / 444.3 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006171/0.3049, allocations: 457.5 kB / 444.8 MB, free: 9.484 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002106/0.3051, allocations: 120 kB / 444.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004314/0.3056, allocations: 160 kB / 445.1 MB, free: 9.211 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000275/0.3058, allocations: 231.2 kB / 445.3 MB, free: 8.984 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006187/0.3064, allocations: 469.9 kB / 445.7 MB, free: 8.523 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001869/0.3083, allocations: 1.482 MB / 447.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3083, allocations: 0 / 447.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3083, allocations: 3.938 kB / 447.2 MB, free: 7.035 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.634e-05/0.3083, allocations: 0 / 447.2 MB, free: 7.035 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002325/0.3107, allocations: 1.256 MB / 448.5 MB, free: 5.746 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.3107, allocations: 8.031 kB / 448.5 MB, free: 5.738 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007374/0.3114, allocations: 180.2 kB / 448.7 MB, free: 5.562 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.3126, allocations: 0.5764 MB / 449.2 MB, free: 4.957 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.65e-05/0.3127, allocations: 70.38 kB / 449.3 MB, free: 4.891 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.3128, allocations: 87.94 kB / 449.4 MB, free: 4.805 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/0.3144, allocations: 0.8647 MB / 450.3 MB, free: 3.895 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.535e-05/0.3145, allocations: 7.953 kB / 450.3 MB, free: 3.887 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.265e-05/0.3145, allocations: 36 kB / 450.3 MB, free: 3.852 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.025e-05/0.3146, allocations: 20 kB / 450.3 MB, free: 3.832 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/0.3158, allocations: 0.5426 MB / 450.9 MB, free: 3.293 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004757/0.3206, allocations: 2.937 MB / 453.8 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005713/0.3211, allocations: 229.5 kB / 454 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002582/0.3214, allocations: 108.8 kB / 454.1 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.3214, allocations: 0 / 454.1 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.986e-05/0.3215, allocations: 54.48 kB / 454.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.422e-06/0.3215, allocations: 0 / 454.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002181/0.3236, allocations: 0.9202 MB / 455.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.007e-05/0.3237, allocations: 85.11 kB / 455.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009912/0.3247, allocations: 0.6915 MB / 455.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.746e-05/0.3247, allocations: 33.7 kB / 455.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00043/0.3252, allocations: 0.5342 MB / 456.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.641e-05/0.3253, allocations: 115 kB / 456.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001713/0.3254, allocations: 122.2 kB / 456.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002163/0.3256, allocations: 378.8 kB / 457 MB, free: 12.81 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002999/0.3259, allocations: 129.2 kB / 457.2 MB, free: 12.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006078/0.3266, allocations: 472 kB / 457.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009774/0.3275, allocations: 0.6177 MB / 458.3 MB, free: 11.31 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.3275, allocations: 8 kB / 458.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.00126/0.3288, allocations: 0.6429 MB / 458.9 MB, free: 10.65 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/0.3288, allocations: 8 kB / 458.9 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.805e-05/0.3288, allocations: 15.94 kB / 458.9 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001855/0.329, allocations: 44.72 kB / 459 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005062/0.3295, allocations: 147.7 kB / 459.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001346/0.3309, allocations: 1.264 MB / 460.4 MB, free: 9.066 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005041/0.3314, allocations: 39.89 kB / 460.4 MB, free: 9.027 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.851e-05/0.3314, allocations: 32 kB / 460.4 MB, free: 8.996 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (78): * Single equations (assignments): 77 * 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.0003909/0.3318, allocations: 241.5 kB / 460.7 MB, free: 8.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.3319, allocations: 67.67 kB / 460.8 MB, free: 8.684 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008085/0.3327, allocations: 325 kB / 461.1 MB, free: 8.355 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.401e-06/0.3327, allocations: 4 kB / 461.1 MB, free: 8.352 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.3328, allocations: 0 / 461.1 MB, free: 8.352 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.3328, allocations: 0 / 461.1 MB, free: 8.352 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001706/0.3345, allocations: 0.936 MB / 462 MB, free: 7.355 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.3345, allocations: 3.984 kB / 462 MB, free: 7.352 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003135/0.3348, allocations: 63.84 kB / 462.1 MB, free: 7.289 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.27e-05/0.3349, allocations: 24.84 kB / 462.1 MB, free: 7.262 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.185e-05/0.3349, allocations: 8 kB / 462.1 MB, free: 7.254 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001058/0.336, allocations: 1.252 MB / 463.4 MB, free: 5.898 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.336, allocations: 4.031 kB / 463.4 MB, free: 5.895 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009833/0.3369, allocations: 0.5605 MB / 463.9 MB, free: 5.289 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002086/0.3372, allocations: 95.69 kB / 464 MB, free: 5.195 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.303e-05/0.3372, allocations: 8 kB / 464 MB, free: 5.188 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003348/0.3376, allocations: 19.98 kB / 464 MB, free: 5.168 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.358e-05/0.3376, allocations: 35.83 kB / 464.1 MB, free: 5.133 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.3377, allocations: 12 kB / 464.1 MB, free: 5.121 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006482/0.3383, allocations: 459 kB / 464.5 MB, free: 4.676 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3383, allocations: 0 / 464.5 MB, free: 4.676 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007366/0.339, allocations: 172 kB / 464.7 MB, free: 4.508 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 (28): * Single equations (assignments): 27 * 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.0002354/0.3393, allocations: 123.1 kB / 464.8 MB, free: 4.379 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009915/0.3403, allocations: 476.2 kB / 465.3 MB, free: 3.902 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.3403, allocations: 0 / 465.3 MB, free: 3.902 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004101/0.3407, allocations: 240.3 kB / 465.5 MB, free: 3.656 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008986/0.3416, allocations: 170.2 kB / 465.7 MB, free: 3.492 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002585/0.3442, allocations: 1.486 MB / 467.2 MB, free: 1.953 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004117/0.3446, allocations: 361.1 kB / 467.5 MB, free: 1.574 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003282/0.3449, allocations: 85.55 kB / 467.6 MB, free: 1.488 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.345, allocations: 51.42 kB / 467.7 MB, free: 1.438 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.345, allocations: 0 / 467.7 MB, free: 1.438 MB / 366.1 MB Notification: Performance of Templates: time 0.019/0.364, allocations: 9.499 MB / 477.2 MB, free: 8.125 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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: 5.149995498359203]