Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001337/0.001337, allocations: 116.7 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001487/0.001487, allocations: 215.5 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 230.5 MB / 257.4 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 63.89 kB / 377.8 MB, free: 2.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2893, allocations: 53.41 MB / 431.2 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.009585/0.2989, allocations: 7.214 MB / 438.4 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004614/0.3035, allocations: 2.402 MB / 440.8 MB, free: 13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009562/0.3044, allocations: 19.94 kB / 440.8 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001578/0.306, allocations: 0.5126 MB / 441.3 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001289/0.3073, allocations: 413 kB / 441.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004907/0.3078, allocations: 211.7 kB / 442 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001487/0.3093, allocations: 1.206 MB / 443.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005933/0.3099, allocations: 336.5 kB / 443.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006446/0.3105, allocations: 482.2 kB / 444 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005984/0.3111, allocations: 0.4899 MB / 444.5 MB, free: 9.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001406/0.3113, allocations: 116 kB / 444.6 MB, free: 9.207 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002903/0.3115, allocations: 152 kB / 444.7 MB, free: 9.059 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001882/0.3117, allocations: 231.2 kB / 444.9 MB, free: 8.832 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005075/0.3122, allocations: 0.5404 MB / 445.5 MB, free: 8.289 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001684/0.3139, allocations: 1.447 MB / 446.9 MB, free: 6.836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3139, allocations: 0 / 446.9 MB, free: 6.836 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3139, allocations: 0 / 446.9 MB, free: 6.836 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.4e-05/0.3139, allocations: 0 / 446.9 MB, free: 6.836 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.00207/0.316, allocations: 1.202 MB / 448.1 MB, free: 5.602 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.3161, allocations: 8.031 kB / 448.1 MB, free: 5.594 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001533/0.3162, allocations: 123.1 kB / 448.3 MB, free: 5.465 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004809/0.3167, allocations: 152.2 kB / 448.4 MB, free: 5.316 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.3178, allocations: 0.5843 MB / 449 MB, free: 4.703 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.491e-05/0.3178, allocations: 58.38 kB / 449 MB, free: 4.648 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/0.3179, allocations: 88.06 kB / 449.1 MB, free: 4.562 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001291/0.3192, allocations: 0.7793 MB / 449.9 MB, free: 3.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.924e-05/0.3193, allocations: 4 kB / 449.9 MB, free: 3.746 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.294e-05/0.3193, allocations: 28 kB / 449.9 MB, free: 3.719 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.847e-05/0.3193, allocations: 23.94 kB / 450 MB, free: 3.695 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/0.3204, allocations: 0.5192 MB / 450.5 MB, free: 3.176 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004285/0.3246, allocations: 3.278 MB / 453.8 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005008/0.3252, allocations: 214.5 kB / 454 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002375/0.3254, allocations: 108.8 kB / 454.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.3254, allocations: 4 kB / 454.1 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.3254, allocations: 38.56 kB / 454.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.963e-06/0.3254, allocations: 0 / 454.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.002031/0.3275, allocations: 0.9102 MB / 455 MB, free: 14.37 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.703e-05/0.3276, allocations: 85.34 kB / 455.1 MB, free: 14.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009842/0.3285, allocations: 0.7311 MB / 455.8 MB, free: 13.53 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.768e-05/0.3286, allocations: 29.7 kB / 455.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004059/0.329, allocations: 0.5034 MB / 456.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.48e-05/0.3291, allocations: 111.1 kB / 456.5 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.3292, allocations: 110.3 kB / 456.6 MB, free: 12.76 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002467/0.3295, allocations: 382.8 kB / 457 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002866/0.3298, allocations: 125.2 kB / 457.1 MB, free: 12.26 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005508/0.3303, allocations: 426 kB / 457.5 MB, free: 11.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008287/0.3311, allocations: 0.5714 MB / 458.1 MB, free: 11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3311, allocations: 0 / 458.1 MB, free: 11 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001099/0.3322, allocations: 0.6228 MB / 458.7 MB, free: 10.37 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.3323, allocations: 8 kB / 458.7 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.3323, allocations: 12 kB / 458.7 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001668/0.3324, allocations: 37.41 kB / 458.8 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000435/0.3329, allocations: 139.8 kB / 458.9 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001314/0.3342, allocations: 1.287 MB / 460.2 MB, free: 8.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004138/0.3346, allocations: 35.94 kB / 460.2 MB, free: 8.734 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.737e-05/0.3346, allocations: 28 kB / 460.2 MB, free: 8.707 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (73): * Single equations (assignments): 72 * 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.0003524/0.335, allocations: 245.6 kB / 460.5 MB, free: 8.457 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.3351, allocations: 75.53 kB / 460.6 MB, free: 8.383 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006561/0.3358, allocations: 313.5 kB / 460.9 MB, free: 8.066 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.3358, allocations: 4 kB / 460.9 MB, free: 8.062 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.3358, allocations: 0 / 460.9 MB, free: 8.062 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.3358, allocations: 3.984 kB / 460.9 MB, free: 8.059 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001802/0.3376, allocations: 1.073 MB / 461.9 MB, free: 6.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.3376, allocations: 4.219 kB / 461.9 MB, free: 6.906 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002595/0.3379, allocations: 59.91 kB / 462 MB, free: 6.848 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.648e-05/0.3379, allocations: 24.84 kB / 462 MB, free: 6.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/0.338, allocations: 8 kB / 462 MB, free: 6.812 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001045/0.339, allocations: 1.271 MB / 463.3 MB, free: 5.422 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.339, allocations: 3.984 kB / 463.3 MB, free: 5.418 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008776/0.3399, allocations: 0.5531 MB / 463.9 MB, free: 4.824 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002177/0.3401, allocations: 107.5 kB / 464 MB, free: 4.719 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.618e-05/0.3402, allocations: 8 kB / 464 MB, free: 4.711 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003014/0.3405, allocations: 11.98 kB / 464 MB, free: 4.699 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.097e-05/0.3406, allocations: 31.83 kB / 464 MB, free: 4.668 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.3406, allocations: 16 kB / 464 MB, free: 4.652 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000702/0.3413, allocations: 0.4991 MB / 464.5 MB, free: 4.156 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3413, allocations: 0 / 464.5 MB, free: 4.156 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007063/0.342, allocations: 167.9 kB / 464.7 MB, free: 3.992 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 (27): * Single equations (assignments): 26 * 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.001421/0.3434, allocations: 1.121 MB / 465.8 MB, free: 2.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008968/0.3443, allocations: 448.6 kB / 466.3 MB, free: 2.371 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.3443, allocations: 3.938 kB / 466.3 MB, free: 2.367 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003785/0.3447, allocations: 235.1 kB / 466.5 MB, free: 2.125 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009324/0.3456, allocations: 192.1 kB / 466.7 MB, free: 1.949 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009941/0.3556, allocations: 6.282 MB / 473 MB, free: 11.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007314/0.3563, allocations: 0.9411 MB / 473.9 MB, free: 10.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004033/0.3567, allocations: 90.02 kB / 474 MB, free: 10.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003972/0.3571, allocations: 299.3 kB / 474.3 MB, free: 9.902 MB / 382.1 MB Notification: Performance of SimCode: time 1.362e-06/0.3571, allocations: 4 kB / 474.3 MB, free: 9.898 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05349/0.4106, allocations: 15.97 MB / 490.3 MB, free: 10.12 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/12.86, allocations: 6.359 kB / 490.3 MB, free: 10.12 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start/DCPM_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable loadInertia.w in file Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.869106785998156]