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.001832/0.001832, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002167/0.002167, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.445/1.445, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.001626/0.001626, allocations: 51.92 kB / 377.7 MB, free: 2.953 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2682, allocations: 53.37 MB / 431.1 MB, free: 6.613 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.009153/0.2774, allocations: 7.066 MB / 438.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004431/0.2818, allocations: 2.477 MB / 440.6 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000658/0.2825, allocations: 23.94 kB / 440.7 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001277/0.2837, allocations: 482.9 kB / 441.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009479/0.2847, allocations: 432.8 kB / 441.6 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004467/0.2851, allocations: 219.6 kB / 441.8 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001237/0.2864, allocations: 1.234 MB / 443 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005599/0.2869, allocations: 350.4 kB / 443.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006229/0.2876, allocations: 498.1 kB / 443.8 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005524/0.2881, allocations: 461.6 kB / 444.3 MB, free: 9.344 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001437/0.2883, allocations: 116 kB / 444.4 MB, free: 9.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002939/0.2886, allocations: 160 kB / 444.6 MB, free: 9.074 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001775/0.2887, allocations: 231.2 kB / 444.8 MB, free: 8.848 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004294/0.2892, allocations: 473.8 kB / 445.2 MB, free: 8.383 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001499/0.2907, allocations: 1.479 MB / 446.7 MB, free: 6.898 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2907, allocations: 0 / 446.7 MB, free: 6.898 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2907, allocations: 0 / 446.7 MB, free: 6.898 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.296e-05/0.2907, allocations: 0 / 446.7 MB, free: 6.898 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.002117/0.2928, allocations: 1.256 MB / 448 MB, free: 5.609 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.2928, allocations: 11.97 kB / 448 MB, free: 5.598 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001549/0.293, allocations: 135.5 kB / 448.1 MB, free: 5.457 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006826/0.2937, allocations: 180.2 kB / 448.3 MB, free: 5.281 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.2947, allocations: 0.5803 MB / 448.9 MB, free: 4.672 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.475e-05/0.2948, allocations: 70.12 kB / 448.9 MB, free: 4.605 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.2949, allocations: 80 kB / 449 MB, free: 4.527 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.2963, allocations: 0.8686 MB / 449.9 MB, free: 3.613 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.088e-05/0.2963, allocations: 3.953 kB / 449.9 MB, free: 3.609 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.855e-05/0.2964, allocations: 36 kB / 449.9 MB, free: 3.574 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.082e-05/0.2964, allocations: 24 kB / 450 MB, free: 3.551 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.2975, allocations: 0.5425 MB / 450.5 MB, free: 3.012 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004161/0.3016, allocations: 3.08 MB / 453.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005106/0.3021, allocations: 222.6 kB / 453.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000244/0.3024, allocations: 108.8 kB / 453.9 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.3024, allocations: 4 kB / 453.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.3024, allocations: 38.5 kB / 453.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 2.024e-06/0.3024, allocations: 4 kB / 453.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.001985/0.3044, allocations: 0.9312 MB / 454.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.715e-05/0.3045, allocations: 89.05 kB / 455 MB, free: 14.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009914/0.3055, allocations: 0.7818 MB / 455.7 MB, free: 13.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.3055, allocations: 33.7 kB / 455.8 MB, free: 13.44 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003861/0.3059, allocations: 0.5306 MB / 456.3 MB, free: 12.9 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.387e-05/0.306, allocations: 107.1 kB / 456.4 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001579/0.3061, allocations: 122.2 kB / 456.5 MB, free: 12.67 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.3063, allocations: 382.8 kB / 456.9 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002861/0.3066, allocations: 129.2 kB / 457 MB, free: 12.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005328/0.3071, allocations: 472 kB / 457.5 MB, free: 11.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00084/0.308, allocations: 0.6138 MB / 458.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.308, allocations: 8 kB / 458.1 MB, free: 10.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001123/0.3091, allocations: 0.6545 MB / 458.8 MB, free: 10.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.3091, allocations: 14.75 kB / 458.8 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/0.3091, allocations: 12 kB / 458.8 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001424/0.3093, allocations: 32.84 kB / 458.8 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004551/0.3097, allocations: 151.7 kB / 459 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001076/0.3108, allocations: 1.291 MB / 460.3 MB, free: 8.504 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004725/0.3113, allocations: 39.94 kB / 460.3 MB, free: 8.465 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-05/0.3113, allocations: 36 kB / 460.3 MB, free: 8.43 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.0003289/0.3116, allocations: 252 kB / 460.6 MB, free: 8.176 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.3118, allocations: 79.58 kB / 460.7 MB, free: 8.098 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006835/0.3124, allocations: 330 kB / 461 MB, free: 7.762 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.3124, allocations: 0 / 461 MB, free: 7.762 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.3124, allocations: 19.8 kB / 461 MB, free: 7.742 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3124, allocations: 0 / 461 MB, free: 7.742 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001647/0.3141, allocations: 1.011 MB / 462 MB, free: 6.656 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/0.3141, allocations: 4 kB / 462 MB, free: 6.652 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002702/0.3144, allocations: 59.89 kB / 462.1 MB, free: 6.594 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.243e-05/0.3145, allocations: 20.86 kB / 462.1 MB, free: 6.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.366e-05/0.3145, allocations: 11.98 kB / 462.1 MB, free: 6.559 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000959/0.3154, allocations: 1.275 MB / 463.4 MB, free: 5.168 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.3154, allocations: 3.938 kB / 463.4 MB, free: 5.164 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000928/0.3164, allocations: 0.5722 MB / 464 MB, free: 4.547 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000222/0.3166, allocations: 103.6 kB / 464.1 MB, free: 4.445 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.888e-05/0.3167, allocations: 8 kB / 464.1 MB, free: 4.438 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003451/0.317, allocations: 19.98 kB / 464.1 MB, free: 4.418 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.319e-05/0.3171, allocations: 27.95 kB / 464.1 MB, free: 4.391 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.3171, allocations: 8 kB / 464.1 MB, free: 4.383 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000724/0.3178, allocations: 0.5263 MB / 464.7 MB, free: 3.863 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3178, allocations: 0 / 464.7 MB, free: 3.863 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006644/0.3185, allocations: 164 kB / 464.8 MB, free: 3.703 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.001496/0.32, allocations: 1.153 MB / 466 MB, free: 2.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001093/0.3211, allocations: 468.8 kB / 466.4 MB, free: 2.031 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.3211, allocations: 0 / 466.4 MB, free: 2.031 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004213/0.3215, allocations: 245.2 kB / 466.7 MB, free: 1.781 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.3226, allocations: 182.2 kB / 466.8 MB, free: 1.605 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00974/0.3323, allocations: 6.532 MB / 473.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000414/0.3327, allocations: 361.3 kB / 473.7 MB, free: 10.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003617/0.3331, allocations: 94.17 kB / 473.8 MB, free: 10.17 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004131/0.3335, allocations: 319.3 kB / 474.1 MB, free: 9.859 MB / 382.1 MB Notification: Performance of SimCode: time 1.202e-06/0.3335, allocations: 0 / 474.1 MB, free: 9.859 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07622/0.4097, allocations: 17.57 MB / 491.7 MB, free: 8.594 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/12.46, allocations: 14.91 kB / 491.7 MB, free: 8.582 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 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.csv","/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] "Error: Could not read variable loadInertia.w in file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.774277138989419]