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.001493/0.001493, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001748/0.001748, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.421/1.421, allocations: 230.6 MB / 258.3 MB, free: 7.73 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.001484/0.001484, allocations: 43.94 kB / 378.5 MB, free: 2.953 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2552, allocations: 53.37 MB / 431.9 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.009441/0.2646, allocations: 7.062 MB / 438.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004589/0.2692, allocations: 2.47 MB / 441.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007396/0.27, allocations: 27.88 kB / 441.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001313/0.2713, allocations: 479.3 kB / 441.9 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009839/0.2723, allocations: 436.8 kB / 442.3 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004522/0.2727, allocations: 215.6 kB / 442.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001361/0.2741, allocations: 1.24 MB / 443.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006016/0.2747, allocations: 370.5 kB / 444.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006783/0.2754, allocations: 0.4942 MB / 444.6 MB, free: 9.809 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000619/0.276, allocations: 0.5173 MB / 445.1 MB, free: 9.289 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001617/0.2761, allocations: 116 kB / 445.3 MB, free: 9.176 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003085/0.2764, allocations: 156 kB / 445.4 MB, free: 9.023 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002123/0.2767, allocations: 243.1 kB / 445.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004636/0.2771, allocations: 461.9 kB / 446.1 MB, free: 8.332 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001578/0.2787, allocations: 1.482 MB / 447.6 MB, free: 6.844 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.2787, allocations: 4 kB / 447.6 MB, free: 6.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.2787, allocations: 0 / 447.6 MB, free: 6.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.264e-05/0.2787, allocations: 0 / 447.6 MB, free: 6.84 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.002133/0.2809, allocations: 1.252 MB / 448.8 MB, free: 5.555 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.2809, allocations: 15.97 kB / 448.9 MB, free: 5.539 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.765e-05/0.2809, allocations: 26.17 kB / 448.9 MB, free: 5.512 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001479/0.2811, allocations: 135.5 kB / 449 MB, free: 5.371 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006947/0.2818, allocations: 176.1 kB / 449.2 MB, free: 5.199 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.2829, allocations: 0.5881 MB / 449.8 MB, free: 4.586 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.515e-05/0.283, allocations: 69.94 kB / 449.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.2831, allocations: 80 kB / 449.9 MB, free: 4.438 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/0.2846, allocations: 0.8725 MB / 450.8 MB, free: 3.523 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.779e-05/0.2846, allocations: 3.953 kB / 450.8 MB, free: 3.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.866e-05/0.2847, allocations: 36 kB / 450.8 MB, free: 3.484 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.891e-05/0.2847, allocations: 20 kB / 450.8 MB, free: 3.465 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001081/0.2858, allocations: 0.5465 MB / 451.4 MB, free: 2.918 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004428/0.2902, allocations: 3.069 MB / 454.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005705/0.2908, allocations: 225.7 kB / 454.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002561/0.291, allocations: 116.7 kB / 454.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.304e-05/0.291, allocations: 4 kB / 454.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.2911, allocations: 34.56 kB / 454.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.984e-06/0.2911, allocations: 0 / 454.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002176/0.2933, allocations: 0.9436 MB / 455.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.042e-05/0.2933, allocations: 85.05 kB / 455.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/0.2944, allocations: 0.7663 MB / 456.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.2944, allocations: 29.7 kB / 456.7 MB, free: 13.37 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000407/0.2948, allocations: 0.5228 MB / 457.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.2949, allocations: 115.1 kB / 457.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/0.2951, allocations: 118.2 kB / 457.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000217/0.2953, allocations: 386.7 kB / 457.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002957/0.2956, allocations: 137.2 kB / 457.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005594/0.2961, allocations: 468 kB / 458.4 MB, free: 11.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009151/0.297, allocations: 0.6177 MB / 459 MB, free: 10.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.2971, allocations: 4 kB / 459 MB, free: 10.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001166/0.2982, allocations: 0.6502 MB / 459.6 MB, free: 10.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.1e-05/0.2983, allocations: 15.94 kB / 459.7 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.2983, allocations: 8 kB / 459.7 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001809/0.2984, allocations: 37.53 kB / 459.7 MB, free: 9.984 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000502/0.2989, allocations: 155.7 kB / 459.9 MB, free: 9.832 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001195/0.3001, allocations: 1.279 MB / 461.1 MB, free: 8.438 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000472/0.3006, allocations: 39.97 kB / 461.2 MB, free: 8.398 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-05/0.3007, allocations: 40.08 kB / 461.2 MB, free: 8.359 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.00036/0.301, allocations: 248 kB / 461.5 MB, free: 8.109 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.3011, allocations: 79.48 kB / 461.5 MB, free: 8.031 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007025/0.3018, allocations: 333.9 kB / 461.9 MB, free: 7.695 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.3018, allocations: 7.938 kB / 461.9 MB, free: 7.688 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3018, allocations: 3.938 kB / 461.9 MB, free: 7.684 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.3018, allocations: 4 kB / 461.9 MB, free: 7.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001567/0.3034, allocations: 1.011 MB / 462.9 MB, free: 6.594 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.3034, allocations: 0 / 462.9 MB, free: 6.594 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002898/0.3037, allocations: 63.89 kB / 463 MB, free: 6.531 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.403e-05/0.3038, allocations: 29.06 kB / 463 MB, free: 6.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.195e-05/0.3038, allocations: 8 kB / 463 MB, free: 6.492 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009521/0.3048, allocations: 1.267 MB / 464.3 MB, free: 5.109 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.3048, allocations: 7.969 kB / 464.3 MB, free: 5.102 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009005/0.3057, allocations: 0.5723 MB / 464.8 MB, free: 4.484 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000203/0.3059, allocations: 103.5 kB / 464.9 MB, free: 4.383 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.281e-05/0.306, allocations: 8 kB / 464.9 MB, free: 4.375 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003301/0.3063, allocations: 23.97 kB / 465 MB, free: 4.352 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.269e-05/0.3064, allocations: 19.97 kB / 465 MB, free: 4.332 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.256e-05/0.3064, allocations: 15.94 kB / 465 MB, free: 4.316 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006888/0.3071, allocations: 0.5186 MB / 465.5 MB, free: 3.801 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3071, allocations: 4 kB / 465.5 MB, free: 3.797 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006732/0.3077, allocations: 171.9 kB / 465.7 MB, free: 3.629 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.001337/0.3091, allocations: 1.145 MB / 466.8 MB, free: 2.434 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009121/0.31, allocations: 464 kB / 467.3 MB, free: 1.969 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.31, allocations: 0 / 467.3 MB, free: 1.969 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000383/0.3104, allocations: 242.9 kB / 467.5 MB, free: 1.723 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009097/0.3113, allocations: 201.8 kB / 467.7 MB, free: 1.527 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00935/0.3206, allocations: 6.525 MB / 474.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004071/0.321, allocations: 365.2 kB / 474.6 MB, free: 10.19 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000388/0.3214, allocations: 98.16 kB / 474.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00042/0.3219, allocations: 315.3 kB / 475 MB, free: 9.785 MB / 382.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3219, allocations: 0 / 475 MB, free: 9.785 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05073/0.3726, allocations: 17.32 MB / 492.3 MB, free: 8.832 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/13.15, allocations: 12.05 kB / 492.3 MB, free: 8.82 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.851263132994063]