Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.006511/0.006511, allocations: 99.88 kB / 21.96 MB, free: 5.203 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.001731/0.001731, allocations: 217.5 kB / 25.26 MB, free: 3.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.374/1.374, allocations: 207.7 MB / 236.1 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 62.58 kB / 348 MB, free: 9.891 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2831, allocations: 49.15 MB / 397.1 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.007934/0.2911, allocations: 6.995 MB / 404.1 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00389/0.295, allocations: 2.44 MB / 406.6 MB, free: 2.527 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005464/0.2955, allocations: 23.88 kB / 406.6 MB, free: 2.523 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001193/0.2967, allocations: 483.9 kB / 407.1 MB, free: 2.301 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001041/0.2977, allocations: 433.4 kB / 407.5 MB, free: 1.992 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005053/0.2982, allocations: 215.9 kB / 407.7 MB, free: 1.859 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001482/0.2997, allocations: 1.235 MB / 408.9 MB, free: 1.191 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006124/0.3003, allocations: 370.2 kB / 409.3 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007813/0.3011, allocations: 0.4948 MB / 409.8 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006737/0.3018, allocations: 0.5135 MB / 410.3 MB, free: 448 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001603/0.302, allocations: 114.4 kB / 410.4 MB, free: 448 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000354/0.3023, allocations: 151.6 kB / 410.6 MB, free: 440 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001838/0.3025, allocations: 239.4 kB / 410.8 MB, free: 260 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004749/0.303, allocations: 470.9 kB / 411.3 MB, free: 4 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002132/0.3051, allocations: 1.481 MB / 412.7 MB, free: 15.17 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3051, allocations: 3.938 kB / 412.7 MB, free: 15.17 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3051, allocations: 0 / 412.7 MB, free: 15.17 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.603e-05/0.3051, allocations: 4 kB / 412.7 MB, free: 15.16 MB / 334.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.002274/0.3074, allocations: 1.256 MB / 414 MB, free: 14.22 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.3074, allocations: 13.36 kB / 414 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.816e-05/0.3075, allocations: 26.84 kB / 414 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001558/0.3076, allocations: 135.1 kB / 414.2 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005183/0.3082, allocations: 152.2 kB / 414.3 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/0.3093, allocations: 0.5845 MB / 414.9 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.06e-05/0.3094, allocations: 64.53 kB / 415 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.3095, allocations: 86.36 kB / 415.1 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/0.3109, allocations: 0.8703 MB / 415.9 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.764e-05/0.3109, allocations: 3.531 kB / 415.9 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.789e-05/0.311, allocations: 35.16 kB / 416 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.965e-05/0.311, allocations: 25.28 kB / 416 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/0.3121, allocations: 0.5348 MB / 416.5 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004326/0.3164, allocations: 3.078 MB / 419.6 MB, free: 10.01 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005586/0.317, allocations: 236.5 kB / 419.8 MB, free: 9.879 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002547/0.3172, allocations: 111.8 kB / 419.9 MB, free: 9.82 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.81e-05/0.3173, allocations: 3.219 kB / 419.9 MB, free: 9.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.3173, allocations: 36.66 kB / 420 MB, free: 9.777 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.522e-06/0.3173, allocations: 0 / 420 MB, free: 9.777 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.002031/0.3193, allocations: 0.9324 MB / 420.9 MB, free: 9.172 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.29e-05/0.3194, allocations: 79.86 kB / 421 MB, free: 9.078 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/0.3205, allocations: 0.7639 MB / 421.8 MB, free: 8.637 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.443e-05/0.3205, allocations: 30.86 kB / 421.8 MB, free: 8.602 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004824/0.321, allocations: 0.526 MB / 422.3 MB, free: 8.125 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.3211, allocations: 122.2 kB / 422.4 MB, free: 8.02 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002052/0.3213, allocations: 121 kB / 422.5 MB, free: 7.941 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002311/0.3215, allocations: 386 kB / 422.9 MB, free: 7.57 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003035/0.3219, allocations: 131.1 kB / 423.1 MB, free: 7.508 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000617/0.3225, allocations: 471.6 kB / 423.5 MB, free: 6.992 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009271/0.3234, allocations: 0.6142 MB / 424.1 MB, free: 6.41 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.3234, allocations: 3.938 kB / 424.1 MB, free: 6.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001208/0.3246, allocations: 0.6471 MB / 424.8 MB, free: 6.066 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/0.3246, allocations: 13.62 kB / 424.8 MB, free: 6.062 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/0.3247, allocations: 11.25 kB / 424.8 MB, free: 6.062 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001778/0.3248, allocations: 36.59 kB / 424.8 MB, free: 6.047 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004802/0.3253, allocations: 153.4 kB / 425 MB, free: 6.008 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001111/0.3264, allocations: 1.282 MB / 426.3 MB, free: 4.703 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004762/0.3269, allocations: 41.02 kB / 426.3 MB, free: 4.684 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-05/0.327, allocations: 47.72 kB / 426.4 MB, free: 4.664 MB / 334.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.0003317/0.3273, allocations: 237.5 kB / 426.6 MB, free: 4.469 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000143/0.3274, allocations: 79.89 kB / 426.7 MB, free: 4.426 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007504/0.3282, allocations: 337.6 kB / 427 MB, free: 4.223 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.3282, allocations: 2.875 kB / 427 MB, free: 4.223 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3282, allocations: 3.938 kB / 427 MB, free: 4.219 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3282, allocations: 5.531 kB / 427 MB, free: 4.215 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001801/0.33, allocations: 1.012 MB / 428 MB, free: 3.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/0.33, allocations: 8 kB / 428 MB, free: 3.242 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002819/0.3303, allocations: 59.89 kB / 428.1 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.841e-05/0.3304, allocations: 29.06 kB / 428.1 MB, free: 3.152 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.703e-05/0.3304, allocations: 8 kB / 428.1 MB, free: 3.145 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009942/0.3314, allocations: 1.267 MB / 429.4 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.3314, allocations: 0 / 429.4 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009265/0.3323, allocations: 0.5803 MB / 430 MB, free: 1.141 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000197/0.3325, allocations: 99.48 kB / 430.1 MB, free: 1.043 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.813e-05/0.3326, allocations: 8 kB / 430.1 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003509/0.3329, allocations: 23.97 kB / 430.1 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.047e-05/0.333, allocations: 27.91 kB / 430.1 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.222e-05/0.333, allocations: 11.94 kB / 430.1 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006707/0.3337, allocations: 0.5225 MB / 430.7 MB, free: 464 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3337, allocations: 0 / 430.7 MB, free: 464 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006934/0.3344, allocations: 175.9 kB / 430.8 MB, free: 288 kB / 334.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.001382/0.3358, allocations: 1.125 MB / 432 MB, free: 15.11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009321/0.3367, allocations: 468.8 kB / 432.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3367, allocations: 0 / 432.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000379/0.3371, allocations: 239.8 kB / 432.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009201/0.338, allocations: 195.3 kB / 432.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009481/0.3475, allocations: 6.526 MB / 439.4 MB, free: 7.246 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004115/0.3479, allocations: 361.3 kB / 439.7 MB, free: 6.867 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003937/0.3483, allocations: 90.17 kB / 439.8 MB, free: 6.777 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004315/0.3487, allocations: 319.3 kB / 440.1 MB, free: 6.465 MB / 350.1 MB Notification: Performance of SimCode: time 1.733e-06/0.3487, allocations: 0 / 440.1 MB, free: 6.465 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04715/0.3959, allocations: 17.32 MB / 457.4 MB, free: 5.066 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/12.78, allocations: 3.953 kB / 457.4 MB, free: 5.062 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature_fmu --startTime=0 --stopTime=3 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.438728056033142]