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.001267/0.001267, allocations: 112.2 kB / 21.22 MB, free: 0.7266 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.001365/0.001365, allocations: 208.2 kB / 24.52 MB, free: 4.066 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.367/1.367, allocations: 230.6 MB / 258.3 MB, free: 7.996 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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 43.94 kB / 378.6 MB, free: 3.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2663, allocations: 53.37 MB / 431.9 MB, free: 6.828 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01005/0.2763, allocations: 8.056 MB / 440 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004674/0.281, allocations: 2.668 MB / 442.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000523/0.2815, allocations: 23.94 kB / 442.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00127/0.2828, allocations: 0.5303 MB / 443.2 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008779/0.2837, allocations: 436.7 kB / 443.6 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004017/0.2841, allocations: 215.6 kB / 443.8 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001309/0.2854, allocations: 1.233 MB / 445.1 MB, free: 9.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006032/0.286, allocations: 374.5 kB / 445.4 MB, free: 9.234 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006659/0.2867, allocations: 0.4903 MB / 445.9 MB, free: 8.742 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006484/0.2873, allocations: 0.5211 MB / 446.5 MB, free: 8.219 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001587/0.2875, allocations: 112 kB / 446.6 MB, free: 8.109 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002853/0.2878, allocations: 164 kB / 446.7 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000188/0.2879, allocations: 231.2 kB / 446.9 MB, free: 7.723 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005212/0.2885, allocations: 0.5638 MB / 447.5 MB, free: 7.156 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001589/0.2901, allocations: 1.471 MB / 449 MB, free: 5.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2901, allocations: 3.938 kB / 449 MB, free: 5.676 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.2901, allocations: 0 / 449 MB, free: 5.676 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.529e-05/0.2901, allocations: 0 / 449 MB, free: 5.676 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.002196/0.2923, allocations: 1.264 MB / 450.3 MB, free: 4.379 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.2923, allocations: 12.03 kB / 450.3 MB, free: 4.367 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.642e-05/0.2924, allocations: 26.19 kB / 450.3 MB, free: 4.34 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000155/0.2925, allocations: 131.5 kB / 450.4 MB, free: 4.203 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000658/0.2932, allocations: 180.2 kB / 450.6 MB, free: 4.027 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.2942, allocations: 0.5803 MB / 451.2 MB, free: 3.422 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.308e-05/0.2943, allocations: 65.94 kB / 451.2 MB, free: 3.355 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.2944, allocations: 84 kB / 451.3 MB, free: 3.273 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.2957, allocations: 0.8184 MB / 452.1 MB, free: 2.426 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/0.2957, allocations: 3.953 kB / 452.1 MB, free: 2.422 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.509e-05/0.2958, allocations: 36 kB / 452.2 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.787e-05/0.2959, allocations: 27.98 kB / 452.2 MB, free: 2.359 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001071/0.2969, allocations: 0.5426 MB / 452.7 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004343/0.3013, allocations: 3.453 MB / 456.2 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005376/0.3018, allocations: 226.7 kB / 456.4 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002521/0.3021, allocations: 116.7 kB / 456.5 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.3021, allocations: 8 kB / 456.5 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.3021, allocations: 34.5 kB / 456.6 MB, free: 13.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.593e-06/0.3021, allocations: 0 / 456.6 MB, free: 13.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.001994/0.3041, allocations: 0.9436 MB / 457.5 MB, free: 12.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.6e-05/0.3042, allocations: 81.11 kB / 457.6 MB, free: 12.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000977/0.3051, allocations: 0.7663 MB / 458.4 MB, free: 11.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.3052, allocations: 29.7 kB / 458.4 MB, free: 11.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004004/0.3056, allocations: 0.5228 MB / 458.9 MB, free: 11.31 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.3057, allocations: 111.1 kB / 459 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001592/0.3058, allocations: 126.2 kB / 459.1 MB, free: 11.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002054/0.306, allocations: 382.8 kB / 459.5 MB, free: 10.69 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002886/0.3063, allocations: 133.2 kB / 459.7 MB, free: 10.56 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000526/0.3069, allocations: 438.2 kB / 460.1 MB, free: 9.988 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008662/0.3077, allocations: 0.6216 MB / 460.7 MB, free: 9.219 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/0.3077, allocations: 4 kB / 460.7 MB, free: 9.215 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001092/0.3088, allocations: 0.6465 MB / 461.4 MB, free: 8.559 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.3088, allocations: 15.94 kB / 461.4 MB, free: 8.543 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.3088, allocations: 8 kB / 461.4 MB, free: 8.535 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000154/0.309, allocations: 40.78 kB / 461.4 MB, free: 8.492 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004459/0.3094, allocations: 152.2 kB / 461.6 MB, free: 8.344 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001131/0.3106, allocations: 1.295 MB / 462.9 MB, free: 6.934 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004302/0.311, allocations: 39.94 kB / 462.9 MB, free: 6.895 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.659e-05/0.3111, allocations: 39.88 kB / 462.9 MB, free: 6.855 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.000343/0.3114, allocations: 237.5 kB / 463.2 MB, free: 6.613 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.3115, allocations: 83.47 kB / 463.3 MB, free: 6.531 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006733/0.3122, allocations: 330 kB / 463.6 MB, free: 6.199 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3122, allocations: 0 / 463.6 MB, free: 6.199 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/0.3122, allocations: 11.94 kB / 463.6 MB, free: 6.188 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.357e-05/0.3122, allocations: 3.984 kB / 463.6 MB, free: 6.184 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00167/0.3139, allocations: 1.083 MB / 464.7 MB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.3139, allocations: 0 / 464.7 MB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002738/0.3142, allocations: 68.11 kB / 464.7 MB, free: 4.961 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.771e-05/0.3142, allocations: 24.84 kB / 464.8 MB, free: 4.934 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/0.3143, allocations: 8 kB / 464.8 MB, free: 4.926 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009728/0.3152, allocations: 1.275 MB / 466 MB, free: 3.535 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3152, allocations: 0 / 466 MB, free: 3.535 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000937/0.3162, allocations: 0.584 MB / 466.6 MB, free: 2.906 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001915/0.3164, allocations: 99.47 kB / 466.7 MB, free: 2.809 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.107e-05/0.3164, allocations: 11.98 kB / 466.7 MB, free: 2.797 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003136/0.3168, allocations: 19.98 kB / 466.8 MB, free: 2.777 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.803e-05/0.3168, allocations: 31.89 kB / 466.8 MB, free: 2.746 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.049e-05/0.3168, allocations: 11.94 kB / 466.8 MB, free: 2.734 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007191/0.3176, allocations: 0.5186 MB / 467.3 MB, free: 2.219 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3176, allocations: 0 / 467.3 MB, free: 2.219 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006179/0.3182, allocations: 171.9 kB / 467.5 MB, free: 2.051 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.001324/0.3195, allocations: 1.141 MB / 468.6 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000884/0.3204, allocations: 455.7 kB / 469.1 MB, free: 412 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3204, allocations: 0 / 469.1 MB, free: 412 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003822/0.3208, allocations: 245.6 kB / 469.3 MB, free: 156 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009351/0.3217, allocations: 208.3 kB / 469.5 MB, free: 15.96 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009204/0.3309, allocations: 6.533 MB / 476.1 MB, free: 8.996 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006275/0.3315, allocations: 0.9487 MB / 477 MB, free: 8.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003583/0.3319, allocations: 94.17 kB / 477.1 MB, free: 7.926 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004024/0.3323, allocations: 315.3 kB / 477.4 MB, free: 7.617 MB / 382.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3323, allocations: 0 / 477.4 MB, free: 7.617 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05104/0.3833, allocations: 16.66 MB / 494.1 MB, free: 7.203 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.53/12.91, allocations: 8.047 kB / 494.1 MB, free: 7.195 MB / 398.1 MB " [Timeout remaining time 647] (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 658] Reference file matches [Calling sys.exit(0), Time elapsed: 18.558107801014557]