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.001789/0.001789, allocations: 110.6 kB / 19.17 MB, free: 3.871 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.00206/0.00206, allocations: 203.8 kB / 22.12 MB, free: 0.9297 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.377/1.377, allocations: 207.6 MB / 232.5 MB, free: 11.5 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.00161/0.00161, allocations: 59.92 kB / 343 MB, free: 12.26 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2952, allocations: 49.12 MB / 392.1 MB, free: 8.695 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.00885/0.3041, allocations: 7.964 MB / 400.1 MB, free: 3.031 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00463/0.3087, allocations: 2.631 MB / 402.7 MB, free: 1.094 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001367/0.3101, allocations: 27.25 kB / 402.7 MB, free: 1.086 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001738/0.3118, allocations: 0.5216 MB / 403.3 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001686/0.3135, allocations: 431.1 kB / 403.7 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007704/0.3143, allocations: 218.6 kB / 403.9 MB, free: 384 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001735/0.316, allocations: 1.227 MB / 405.1 MB, free: 15.72 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006688/0.3167, allocations: 369.6 kB / 405.5 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006754/0.3173, allocations: 0.4943 MB / 406 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006663/0.318, allocations: 0.5142 MB / 406.5 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000141/0.3181, allocations: 113.7 kB / 406.6 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003112/0.3185, allocations: 152.7 kB / 406.8 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002186/0.3187, allocations: 240.4 kB / 407 MB, free: 14.78 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005438/0.3192, allocations: 0.565 MB / 407.6 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001896/0.3211, allocations: 1.464 MB / 409 MB, free: 13.86 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3211, allocations: 3.938 kB / 409 MB, free: 13.86 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3211, allocations: 0 / 409 MB, free: 13.86 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.119e-05/0.3211, allocations: 0 / 409 MB, free: 13.86 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.002462/0.3236, allocations: 1.337 MB / 410.4 MB, free: 12.94 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.3236, allocations: 9.625 kB / 410.4 MB, free: 12.94 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.206e-05/0.3237, allocations: 22.81 kB / 410.4 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001707/0.3239, allocations: 139.4 kB / 410.5 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004975/0.3243, allocations: 155.9 kB / 410.7 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.3255, allocations: 0.643 MB / 411.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.119e-05/0.3255, allocations: 68.59 kB / 411.4 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.3257, allocations: 86.3 kB / 411.5 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/0.3271, allocations: 0.8176 MB / 412.3 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.215e-05/0.3272, allocations: 6.016 kB / 412.3 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.459e-05/0.3272, allocations: 36.34 kB / 412.3 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.164e-05/0.3273, allocations: 20.97 kB / 412.3 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/0.3284, allocations: 0.5434 MB / 412.9 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00475/0.3331, allocations: 3.57 MB / 416.5 MB, free: 8.203 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005625/0.3337, allocations: 227.2 kB / 416.7 MB, free: 8.082 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002572/0.3339, allocations: 116.7 kB / 416.8 MB, free: 8.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.679e-05/0.3339, allocations: 2.906 kB / 416.8 MB, free: 8.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/0.334, allocations: 35.97 kB / 416.8 MB, free: 7.977 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.853e-06/0.334, allocations: 0 / 416.8 MB, free: 7.977 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.002216/0.3362, allocations: 1.088 MB / 417.9 MB, free: 7.176 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.011e-05/0.3363, allocations: 80.48 kB / 418 MB, free: 7.082 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/0.3373, allocations: 0.7627 MB / 418.8 MB, free: 6.641 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.814e-05/0.3373, allocations: 31.14 kB / 418.8 MB, free: 6.605 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004352/0.3378, allocations: 0.5308 MB / 419.3 MB, free: 6.125 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.661e-05/0.3378, allocations: 117.6 kB / 419.4 MB, free: 6.023 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001751/0.338, allocations: 124.5 kB / 419.6 MB, free: 5.941 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003165/0.3383, allocations: 386.3 kB / 419.9 MB, free: 5.57 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002899/0.3386, allocations: 127 kB / 420.1 MB, free: 5.512 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006301/0.3393, allocations: 451.9 kB / 420.5 MB, free: 5.016 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008538/0.3401, allocations: 0.6184 MB / 421.1 MB, free: 4.422 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.3401, allocations: 2.312 kB / 421.1 MB, free: 4.422 MB / 334.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.00118/0.3413, allocations: 0.6443 MB / 421.8 MB, free: 4.082 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.3413, allocations: 12.62 kB / 421.8 MB, free: 4.078 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.3413, allocations: 11.5 kB / 421.8 MB, free: 4.078 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001676/0.3415, allocations: 35.56 kB / 421.8 MB, free: 4.062 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004332/0.3419, allocations: 150.5 kB / 422 MB, free: 4.027 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00123/0.3432, allocations: 1.393 MB / 423.4 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004761/0.3436, allocations: 37.94 kB / 423.4 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.557e-05/0.3437, allocations: 43.42 kB / 423.4 MB, free: 2.551 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.0003121/0.344, allocations: 237.8 kB / 423.7 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.3441, allocations: 79.23 kB / 423.8 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007312/0.3448, allocations: 337.4 kB / 424.1 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.3448, allocations: 2.562 kB / 424.1 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3448, allocations: 7.875 kB / 424.1 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.3449, allocations: 1.125 kB / 424.1 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001772/0.3466, allocations: 1.126 MB / 425.2 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.3466, allocations: 3 kB / 425.2 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002699/0.3469, allocations: 61.11 kB / 425.3 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.693e-05/0.347, allocations: 24.06 kB / 425.3 MB, free: 1.184 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/0.347, allocations: 9.5 kB / 425.3 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001116/0.3481, allocations: 1.373 MB / 426.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.3481, allocations: 1.625 kB / 426.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000989/0.3491, allocations: 0.5785 MB / 427.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002304/0.3493, allocations: 178.8 kB / 427.4 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.149e-05/0.3494, allocations: 8.062 kB / 427.5 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003265/0.3498, allocations: 22.83 kB / 427.5 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/0.3499, allocations: 30.78 kB / 427.5 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/0.3499, allocations: 15.38 kB / 427.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007165/0.3506, allocations: 0.5192 MB / 428 MB, free: 14.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3506, allocations: 0 / 428 MB, free: 14.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006676/0.3513, allocations: 167.1 kB / 428.2 MB, free: 14.81 MB / 350.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.001347/0.3526, allocations: 1.138 MB / 429.3 MB, free: 13.76 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009249/0.3536, allocations: 464.4 kB / 429.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3536, allocations: 0 / 429.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004016/0.354, allocations: 243.2 kB / 430 MB, free: 13.04 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000973/0.3549, allocations: 184.2 kB / 430.2 MB, free: 12.87 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009399/0.3643, allocations: 6.531 MB / 436.7 MB, free: 5.902 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006254/0.365, allocations: 0.9487 MB / 437.7 MB, free: 4.926 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003438/0.3653, allocations: 94.17 kB / 437.8 MB, free: 4.832 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004178/0.3657, allocations: 315.3 kB / 438.1 MB, free: 4.523 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3657, allocations: 0 / 438.1 MB, free: 4.523 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04343/0.4092, allocations: 16.25 MB / 454.3 MB, free: 4.203 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.29, allocations: 3.938 kB / 454.3 MB, free: 4.199 MB / 366.1 MB " [Timeout remaining time 649] (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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 16.708018470031675]