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.001266/0.001266, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001446/0.001446, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.51/1.51, allocations: 230.6 MB / 254.1 MB, free: 15.09 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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 47.92 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1069, allocations: 53.33 MB / 426.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.2612/0.3681, allocations: 8.018 MB / 434.3 MB, free: 7.281 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005273/0.3734, allocations: 2.658 MB / 437 MB, free: 5.977 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001109/0.3745, allocations: 29.16 kB / 437 MB, free: 5.969 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001571/0.3761, allocations: 0.5182 MB / 437.5 MB, free: 5.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001256/0.3774, allocations: 431 kB / 438 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000552/0.3779, allocations: 218.5 kB / 438.2 MB, free: 5.492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001769/0.3797, allocations: 1.236 MB / 439.4 MB, free: 5.008 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007342/0.3804, allocations: 371 kB / 439.8 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009525/0.3814, allocations: 0.4956 MB / 440.3 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008112/0.3822, allocations: 0.5139 MB / 440.8 MB, free: 4.254 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001991/0.3824, allocations: 118.4 kB / 440.9 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004674/0.3828, allocations: 158.6 kB / 441.1 MB, free: 4.238 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002286/0.3831, allocations: 232.9 kB / 441.3 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006445/0.3837, allocations: 0.5686 MB / 441.9 MB, free: 3.711 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002505/0.3862, allocations: 1.468 MB / 443.3 MB, free: 3.145 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3862, allocations: 1.125 kB / 443.3 MB, free: 3.145 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3862, allocations: 0 / 443.3 MB, free: 3.145 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.455e-05/0.3862, allocations: 1.672 kB / 443.3 MB, free: 3.145 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.002675/0.3889, allocations: 1.336 MB / 444.7 MB, free: 2.223 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.559e-05/0.389, allocations: 9.312 kB / 444.7 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002029/0.3892, allocations: 130.8 kB / 444.8 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000914/0.3901, allocations: 176.6 kB / 445 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/0.3914, allocations: 0.6516 MB / 445.6 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.472e-05/0.3915, allocations: 68.56 kB / 445.7 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/0.3916, allocations: 84.16 kB / 445.8 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001641/0.3933, allocations: 0.8197 MB / 446.6 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.334e-05/0.3933, allocations: 6.938 kB / 446.6 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.588e-05/0.3934, allocations: 39.59 kB / 446.6 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.498e-05/0.3934, allocations: 20.22 kB / 446.7 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/0.3945, allocations: 0.5371 MB / 447.2 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00542/0.3999, allocations: 3.568 MB / 450.8 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006855/0.4006, allocations: 226.7 kB / 451 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003328/0.4009, allocations: 115.8 kB / 451.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.146e-05/0.401, allocations: 3.438 kB / 451.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.472e-05/0.401, allocations: 33.59 kB / 451.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.864e-06/0.401, allocations: 0 / 451.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002913/0.4039, allocations: 1.094 MB / 452.2 MB, free: 13.42 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.082e-05/0.404, allocations: 85.36 kB / 452.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001565/0.4056, allocations: 0.7601 MB / 453.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.212e-05/0.4056, allocations: 30.77 kB / 453.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007143/0.4064, allocations: 0.5287 MB / 453.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/0.4065, allocations: 120 kB / 453.7 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002465/0.4068, allocations: 122.3 kB / 453.9 MB, free: 12.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003054/0.4071, allocations: 379.3 kB / 454.2 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003558/0.4074, allocations: 128.7 kB / 454.4 MB, free: 11.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007039/0.4081, allocations: 458.8 kB / 454.8 MB, free: 11.51 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.4092, allocations: 0.6164 MB / 455.4 MB, free: 10.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.826e-06/0.4092, allocations: 2.688 kB / 455.4 MB, free: 10.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001606/0.4108, allocations: 0.6484 MB / 456.1 MB, free: 10.65 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.853e-05/0.4109, allocations: 13.56 kB / 456.1 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.527e-05/0.4109, allocations: 11 kB / 456.1 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002195/0.4111, allocations: 36.39 kB / 456.1 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005427/0.4116, allocations: 154.8 kB / 456.3 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001456/0.4131, allocations: 1.381 MB / 457.7 MB, free: 9.211 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000642/0.4137, allocations: 41.55 kB / 457.7 MB, free: 9.195 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.417e-05/0.4138, allocations: 35.34 kB / 457.7 MB, free: 9.191 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.0004568/0.4143, allocations: 248.9 kB / 458 MB, free: 8.984 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/0.4144, allocations: 79.58 kB / 458.1 MB, free: 8.941 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008052/0.4152, allocations: 331.7 kB / 458.4 MB, free: 8.785 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.4152, allocations: 4.188 kB / 458.4 MB, free: 8.785 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.4152, allocations: 3.938 kB / 458.4 MB, free: 8.781 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.4152, allocations: 4.094 kB / 458.4 MB, free: 8.781 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002005/0.4172, allocations: 1.113 MB / 459.5 MB, free: 8.113 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.4172, allocations: 6.562 kB / 459.5 MB, free: 8.109 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000302/0.4175, allocations: 68.31 kB / 459.6 MB, free: 8.102 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001125/0.4176, allocations: 20 kB / 459.6 MB, free: 8.094 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.844e-05/0.4177, allocations: 7.062 kB / 459.6 MB, free: 8.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001198/0.4189, allocations: 1.373 MB / 461 MB, free: 6.676 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.4189, allocations: 7.156 kB / 461 MB, free: 6.672 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.42, allocations: 0.5782 MB / 461.6 MB, free: 6.301 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003008/0.4203, allocations: 180.4 kB / 461.7 MB, free: 6.141 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.819e-05/0.4203, allocations: 8.328 kB / 461.7 MB, free: 6.137 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000341/0.4207, allocations: 19.89 kB / 461.8 MB, free: 6.133 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.4208, allocations: 26.69 kB / 461.8 MB, free: 6.125 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.427e-05/0.4208, allocations: 16.83 kB / 461.8 MB, free: 6.117 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008933/0.4217, allocations: 0.5202 MB / 462.3 MB, free: 5.887 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4217, allocations: 0 / 462.3 MB, free: 5.887 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000933/0.4226, allocations: 171.3 kB / 462.5 MB, free: 5.871 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.001612/0.4243, allocations: 1.146 MB / 463.6 MB, free: 4.914 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001015/0.4253, allocations: 468.5 kB / 464.1 MB, free: 4.645 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.4253, allocations: 1.062 kB / 464.1 MB, free: 4.645 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004438/0.4257, allocations: 240.6 kB / 464.3 MB, free: 4.473 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009652/0.4267, allocations: 192.3 kB / 464.5 MB, free: 4.383 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01114/0.4378, allocations: 6.536 MB / 471.1 MB, free: 15.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007657/0.4386, allocations: 0.9509 MB / 472 MB, free: 14.99 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004279/0.439, allocations: 91.81 kB / 472.1 MB, free: 14.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004743/0.4395, allocations: 316 kB / 472.4 MB, free: 14.68 MB / 382.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4395, allocations: 1.312 kB / 472.4 MB, free: 14.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05576/0.4953, allocations: 16.18 MB / 488.6 MB, free: 1.309 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.96, allocations: 10.22 kB / 488.6 MB, free: 1.305 MB / 382.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature_fmu --startTime=0 --stopTime=3 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins1/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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 16.291562724858522]