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.001519/0.001519, allocations: 116.9 kB / 18.49 MB, free: 4.559 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.00167/0.00167, allocations: 217.4 kB / 21.46 MB, free: 1.605 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.469/1.469, allocations: 230.6 MB / 254.8 MB, free: 15.07 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.001513/0.001513, allocations: 51.92 kB / 373.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1018, allocations: 53.33 MB / 427 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.1906/0.2924, allocations: 8.024 MB / 435 MB, free: 7.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00348/0.2959, allocations: 2.653 MB / 437.7 MB, free: 5.922 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005577/0.2964, allocations: 27.56 kB / 437.7 MB, free: 5.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001093/0.2975, allocations: 0.5185 MB / 438.2 MB, free: 5.695 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007874/0.2983, allocations: 434.9 kB / 438.7 MB, free: 5.449 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003978/0.2987, allocations: 215.9 kB / 438.9 MB, free: 5.438 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001073/0.2998, allocations: 1.237 MB / 440.1 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000477/0.3003, allocations: 363.4 kB / 440.5 MB, free: 4.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006033/0.3009, allocations: 0.4943 MB / 441 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005388/0.3014, allocations: 0.5139 MB / 441.5 MB, free: 4.207 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001384/0.3016, allocations: 118.8 kB / 441.6 MB, free: 4.203 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003084/0.3019, allocations: 161.8 kB / 441.8 MB, free: 4.188 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001422/0.302, allocations: 234.8 kB / 442 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004157/0.3024, allocations: 0.5686 MB / 442.6 MB, free: 3.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001517/0.3039, allocations: 1.469 MB / 444 MB, free: 3.094 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.3039, allocations: 1.375 kB / 444 MB, free: 3.094 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3039, allocations: 0 / 444 MB, free: 3.094 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.816e-05/0.304, allocations: 0 / 444 MB, free: 3.094 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.0021/0.3061, allocations: 1.332 MB / 445.4 MB, free: 2.176 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.3061, allocations: 9.719 kB / 445.4 MB, free: 2.176 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.15e-05/0.3062, allocations: 27.78 kB / 445.4 MB, free: 2.168 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001325/0.3063, allocations: 134.6 kB / 445.5 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007052/0.307, allocations: 176.4 kB / 445.7 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/0.308, allocations: 0.6458 MB / 446.3 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.258e-05/0.3081, allocations: 67.72 kB / 446.4 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.3082, allocations: 87.28 kB / 446.5 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001295/0.3095, allocations: 0.8158 MB / 447.3 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.095e-05/0.3095, allocations: 10.67 kB / 447.3 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.206e-05/0.3096, allocations: 35.94 kB / 447.4 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/0.3096, allocations: 21.22 kB / 447.4 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009902/0.3106, allocations: 0.5363 MB / 447.9 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004458/0.315, allocations: 3.57 MB / 451.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000525/0.3156, allocations: 227.9 kB / 451.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002439/0.3158, allocations: 110.7 kB / 451.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.277e-05/0.3158, allocations: 7.031 kB / 451.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.3159, allocations: 38.22 kB / 451.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.934e-06/0.3159, allocations: 0 / 451.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.00234/0.3182, allocations: 1.095 MB / 453 MB, free: 13.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.3183, allocations: 85.14 kB / 453 MB, free: 13.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.3194, allocations: 0.7599 MB / 453.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/0.3194, allocations: 30.83 kB / 453.8 MB, free: 12.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004234/0.3198, allocations: 0.5253 MB / 454.4 MB, free: 12.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.617e-05/0.3199, allocations: 116.2 kB / 454.5 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001715/0.3201, allocations: 130.9 kB / 454.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002243/0.3203, allocations: 381.2 kB / 455 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002981/0.3206, allocations: 129.7 kB / 455.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005506/0.3212, allocations: 442.4 kB / 455.5 MB, free: 11.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009024/0.3221, allocations: 0.6272 MB / 456.2 MB, free: 10.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.3221, allocations: 4.125 kB / 456.2 MB, free: 10.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001202/0.3233, allocations: 0.6475 MB / 456.8 MB, free: 10.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.3233, allocations: 13.78 kB / 456.8 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/0.3233, allocations: 11.16 kB / 456.8 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001618/0.3235, allocations: 34.12 kB / 456.9 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004576/0.3239, allocations: 150.1 kB / 457 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001186/0.3251, allocations: 1.39 MB / 458.4 MB, free: 9.152 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005453/0.3257, allocations: 41.52 kB / 458.4 MB, free: 9.137 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.491e-05/0.3257, allocations: 38.83 kB / 458.5 MB, free: 9.129 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.000354/0.3261, allocations: 237.7 kB / 458.7 MB, free: 8.934 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.3262, allocations: 79.3 kB / 458.8 MB, free: 8.891 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006949/0.3269, allocations: 337.6 kB / 459.1 MB, free: 8.734 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.3269, allocations: 2.75 kB / 459.1 MB, free: 8.734 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3269, allocations: 4.812 kB / 459.1 MB, free: 8.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.3269, allocations: 2.453 kB / 459.1 MB, free: 8.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001847/0.3287, allocations: 1.119 MB / 460.2 MB, free: 8.059 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.3287, allocations: 1.375 kB / 460.2 MB, free: 8.059 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002828/0.329, allocations: 60.67 kB / 460.3 MB, free: 8.055 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.443e-05/0.3291, allocations: 27.02 kB / 460.3 MB, free: 8.039 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.227e-05/0.3291, allocations: 11.06 kB / 460.3 MB, free: 8.035 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001112/0.3302, allocations: 1.373 MB / 461.7 MB, free: 6.621 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.3302, allocations: 2.719 kB / 461.7 MB, free: 6.621 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009917/0.3312, allocations: 0.5716 MB / 462.3 MB, free: 6.254 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002702/0.3315, allocations: 181.5 kB / 462.5 MB, free: 6.094 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.434e-05/0.3316, allocations: 10.11 kB / 462.5 MB, free: 6.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003347/0.3319, allocations: 19.77 kB / 462.5 MB, free: 6.086 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.643e-05/0.332, allocations: 28.06 kB / 462.5 MB, free: 6.078 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.29e-05/0.332, allocations: 15.34 kB / 462.5 MB, free: 6.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007293/0.3327, allocations: 0.5221 MB / 463.1 MB, free: 5.816 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3327, allocations: 1.594 kB / 463.1 MB, free: 5.816 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007468/0.3335, allocations: 169.8 kB / 463.2 MB, free: 5.801 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.001426/0.3349, allocations: 1.148 MB / 464.4 MB, free: 4.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009742/0.3359, allocations: 462.5 kB / 464.8 MB, free: 4.574 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.3359, allocations: 2.469 kB / 464.8 MB, free: 4.574 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003988/0.3363, allocations: 239.4 kB / 465.1 MB, free: 4.402 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009399/0.3372, allocations: 199.5 kB / 465.3 MB, free: 4.316 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009804/0.347, allocations: 6.538 MB / 471.8 MB, free: 15.74 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006607/0.3477, allocations: 0.9508 MB / 472.7 MB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003959/0.3481, allocations: 92.31 kB / 472.8 MB, free: 14.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004202/0.3485, allocations: 316.3 kB / 473.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3485, allocations: 1.469 kB / 473.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04674/0.3953, allocations: 16.22 MB / 489.4 MB, free: 1.152 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.48, allocations: 11.86 kB / 489.4 MB, free: 1.141 MB / 382.1 MB " [Timeout remaining time 648] (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: 17.1976844779565]