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.001811/0.001811, allocations: 115.9 kB / 20.44 MB, free: 1.465 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.002118/0.002118, allocations: 212.9 kB / 23.74 MB, free: 4.691 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.473/1.473, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.001643/0.001643, allocations: 51.86 kB / 377.8 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2716, allocations: 53.36 MB / 431.1 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01057/0.2822, allocations: 8.054 MB / 439.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005594/0.2878, allocations: 2.672 MB / 441.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008037/0.2886, allocations: 23.94 kB / 441.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001405/0.29, allocations: 0.5164 MB / 442.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001035/0.291, allocations: 436.8 kB / 442.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005237/0.2916, allocations: 223.6 kB / 443.1 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001458/0.293, allocations: 1.241 MB / 444.3 MB, free: 9.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006317/0.2936, allocations: 371.5 kB / 444.7 MB, free: 9.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007263/0.2944, allocations: 0.4942 MB / 445.2 MB, free: 8.773 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007/0.2951, allocations: 0.5172 MB / 445.7 MB, free: 8.254 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002254/0.2953, allocations: 112 kB / 445.8 MB, free: 8.145 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003373/0.2956, allocations: 160 kB / 445.9 MB, free: 7.988 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002237/0.2959, allocations: 235.1 kB / 446.2 MB, free: 7.758 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000573/0.2964, allocations: 0.5677 MB / 446.7 MB, free: 7.188 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001937/0.2984, allocations: 1.466 MB / 448.2 MB, free: 5.719 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2984, allocations: 0 / 448.2 MB, free: 5.719 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.069e-06/0.2984, allocations: 4 kB / 448.2 MB, free: 5.715 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.502e-05/0.2984, allocations: 0 / 448.2 MB, free: 5.715 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.002419/0.3008, allocations: 1.26 MB / 449.5 MB, free: 4.422 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.3009, allocations: 11.97 kB / 449.5 MB, free: 4.41 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001756/0.3011, allocations: 135.5 kB / 449.6 MB, free: 4.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007234/0.3018, allocations: 180.2 kB / 449.8 MB, free: 4.094 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/0.3029, allocations: 0.5842 MB / 450.4 MB, free: 3.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.98e-05/0.3029, allocations: 66.12 kB / 450.4 MB, free: 3.418 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.3031, allocations: 84 kB / 450.5 MB, free: 3.336 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.3045, allocations: 0.8145 MB / 451.3 MB, free: 2.488 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.242e-05/0.3045, allocations: 11.95 kB / 451.3 MB, free: 2.477 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.851e-05/0.3046, allocations: 32 kB / 451.4 MB, free: 2.445 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.033e-05/0.3046, allocations: 20 kB / 451.4 MB, free: 2.426 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.3057, allocations: 0.5465 MB / 451.9 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004814/0.3105, allocations: 3.449 MB / 455.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005776/0.3111, allocations: 234.7 kB / 455.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002521/0.3114, allocations: 112.7 kB / 455.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.721e-05/0.3114, allocations: 4 kB / 455.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.3114, allocations: 34.56 kB / 455.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 2.865e-06/0.3114, allocations: 4 kB / 455.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002134/0.3136, allocations: 0.9397 MB / 456.7 MB, free: 12.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.547e-05/0.3136, allocations: 89.05 kB / 456.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/0.3147, allocations: 0.7624 MB / 457.6 MB, free: 11.94 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.166e-05/0.3147, allocations: 29.7 kB / 457.6 MB, free: 11.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004974/0.3152, allocations: 0.5228 MB / 458.1 MB, free: 11.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.705e-05/0.3153, allocations: 111.1 kB / 458.2 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001858/0.3155, allocations: 118.2 kB / 458.3 MB, free: 11.15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000244/0.3157, allocations: 382.8 kB / 458.7 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002994/0.316, allocations: 137.2 kB / 458.8 MB, free: 10.63 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005717/0.3166, allocations: 450.2 kB / 459.3 MB, free: 10.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008895/0.3175, allocations: 0.6138 MB / 459.9 MB, free: 9.285 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.3175, allocations: 4 kB / 459.9 MB, free: 9.281 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001161/0.3187, allocations: 0.6507 MB / 460.5 MB, free: 8.621 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.3187, allocations: 15.94 kB / 460.6 MB, free: 8.605 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/0.3187, allocations: 11.98 kB / 460.6 MB, free: 8.594 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001799/0.3189, allocations: 32.86 kB / 460.6 MB, free: 8.559 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004769/0.3194, allocations: 155.7 kB / 460.8 MB, free: 8.406 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001189/0.3205, allocations: 1.283 MB / 462 MB, free: 7.008 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000488/0.321, allocations: 44.09 kB / 462.1 MB, free: 6.965 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.28e-05/0.3211, allocations: 32 kB / 462.1 MB, free: 6.934 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.000366/0.3214, allocations: 241.5 kB / 462.4 MB, free: 6.688 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.3216, allocations: 87.47 kB / 462.4 MB, free: 6.602 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006891/0.3222, allocations: 333.9 kB / 462.8 MB, free: 6.262 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.3223, allocations: 0 / 462.8 MB, free: 6.262 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.3223, allocations: 11.88 kB / 462.8 MB, free: 6.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.3223, allocations: 7.984 kB / 462.8 MB, free: 6.242 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001771/0.324, allocations: 1.079 MB / 463.9 MB, free: 5.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.324, allocations: 0 / 463.9 MB, free: 5.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000281/0.3243, allocations: 63.89 kB / 463.9 MB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.677e-05/0.3244, allocations: 25.06 kB / 463.9 MB, free: 5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/0.3244, allocations: 15.94 kB / 464 MB, free: 4.984 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001113/0.3255, allocations: 1.271 MB / 465.2 MB, free: 3.598 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3255, allocations: 4.031 kB / 465.2 MB, free: 3.594 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.3266, allocations: 0.58 MB / 465.8 MB, free: 2.969 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002441/0.3268, allocations: 103.5 kB / 465.9 MB, free: 2.867 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.217e-05/0.3269, allocations: 8 kB / 465.9 MB, free: 2.859 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003395/0.3272, allocations: 23.98 kB / 466 MB, free: 2.836 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.433e-05/0.3273, allocations: 27.89 kB / 466 MB, free: 2.809 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.3273, allocations: 8 kB / 466 MB, free: 2.801 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008026/0.3281, allocations: 0.5185 MB / 466.5 MB, free: 2.289 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3281, allocations: 0 / 466.5 MB, free: 2.289 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007727/0.3289, allocations: 175.9 kB / 466.7 MB, free: 2.117 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.001476/0.3304, allocations: 1.142 MB / 467.8 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.3314, allocations: 467.9 kB / 468.3 MB, free: 468 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.3314, allocations: 0 / 468.3 MB, free: 468 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004095/0.3318, allocations: 233.6 kB / 468.5 MB, free: 224 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009187/0.3328, allocations: 197.4 kB / 468.7 MB, free: 28 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009486/0.3422, allocations: 6.536 MB / 475.2 MB, free: 9.062 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006298/0.3429, allocations: 0.9526 MB / 476.2 MB, free: 8.082 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003258/0.3432, allocations: 94.17 kB / 476.3 MB, free: 7.988 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004013/0.3436, allocations: 315.3 kB / 476.6 MB, free: 7.68 MB / 382.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3436, allocations: 4 kB / 476.6 MB, free: 7.676 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05492/0.3985, allocations: 16.62 MB / 493.2 MB, free: 7.285 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.13/13.52, allocations: 7.359 kB / 493.2 MB, free: 7.281 MB / 398.1 MB " [Timeout remaining time 646] (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: 17.78463742788881]