Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.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.001748/0.001748, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.002169/0.002169, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.574/1.574, allocations: 230.6 MB / 254.1 MB, free: 15.09 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_Start,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 51.92 kB / 373 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1085, allocations: 53.32 MB / 426.3 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.22/0.3285, allocations: 7.184 MB / 433.5 MB, free: 7.738 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003822/0.3323, allocations: 2.385 MB / 435.9 MB, free: 6.668 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006353/0.333, allocations: 20.81 kB / 435.9 MB, free: 6.664 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001292/0.3343, allocations: 0.5199 MB / 436.4 MB, free: 6.445 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001112/0.3354, allocations: 410.2 kB / 436.8 MB, free: 6.215 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004631/0.3358, allocations: 202.6 kB / 437 MB, free: 6.207 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001479/0.3373, allocations: 1.204 MB / 438.2 MB, free: 5.832 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005586/0.3379, allocations: 339.3 kB / 438.6 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008019/0.3387, allocations: 478.6 kB / 439 MB, free: 5.383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005822/0.3393, allocations: 0.4917 MB / 439.5 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001641/0.3394, allocations: 113.6 kB / 439.6 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003549/0.3398, allocations: 154.4 kB / 439.8 MB, free: 5.102 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000144/0.3399, allocations: 227.9 kB / 440 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004155/0.3403, allocations: 0.5411 MB / 440.5 MB, free: 4.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00175/0.3421, allocations: 1.444 MB / 442 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3421, allocations: 0.5625 kB / 442 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3421, allocations: 0 / 442 MB, free: 4.031 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.557e-05/0.3421, allocations: 1 kB / 442 MB, free: 4.031 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.002376/0.3445, allocations: 1.272 MB / 443.3 MB, free: 3.137 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.3445, allocations: 10.64 kB / 443.3 MB, free: 3.137 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001333/0.3447, allocations: 128.3 kB / 443.4 MB, free: 3.047 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004928/0.3452, allocations: 152.6 kB / 443.6 MB, free: 2.984 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/0.3462, allocations: 0.6524 MB / 444.2 MB, free: 2.508 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.216e-05/0.3463, allocations: 57.56 kB / 444.3 MB, free: 2.484 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001514/0.3464, allocations: 87.77 kB / 444.3 MB, free: 2.449 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/0.3477, allocations: 0.7772 MB / 445.1 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.125e-05/0.3478, allocations: 5.766 kB / 445.1 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.814e-05/0.3478, allocations: 32.03 kB / 445.2 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.054e-05/0.3479, allocations: 19.78 kB / 445.2 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009919/0.3488, allocations: 0.5205 MB / 445.7 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003911/0.3528, allocations: 3.375 MB / 449.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005166/0.3533, allocations: 209.5 kB / 449.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002546/0.3535, allocations: 115.8 kB / 449.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.29e-05/0.3536, allocations: 3.625 kB / 449.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.3536, allocations: 32.45 kB / 449.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 3.096e-06/0.3536, allocations: 3.031 kB / 449.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.00241/0.356, allocations: 1.058 MB / 450.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.611e-05/0.3561, allocations: 85.88 kB / 450.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/0.3573, allocations: 0.7281 MB / 451.3 MB, free: 14.13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.676e-05/0.3573, allocations: 30.89 kB / 451.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004856/0.3578, allocations: 0.5047 MB / 451.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.3579, allocations: 110.9 kB / 451.9 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002048/0.3581, allocations: 117.5 kB / 452.1 MB, free: 13.53 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000227/0.3583, allocations: 380.9 kB / 452.4 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000309/0.3586, allocations: 121.5 kB / 452.5 MB, free: 13.15 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005332/0.3592, allocations: 423 kB / 453 MB, free: 12.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008387/0.36, allocations: 0.5758 MB / 453.5 MB, free: 12.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.36, allocations: 3.188 kB / 453.5 MB, free: 12.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001194/0.3612, allocations: 0.6208 MB / 454.2 MB, free: 11.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.3612, allocations: 11.03 kB / 454.2 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.752e-05/0.3612, allocations: 9.375 kB / 454.2 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001754/0.3614, allocations: 36.78 kB / 454.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004581/0.3619, allocations: 137.1 kB / 454.4 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001247/0.3631, allocations: 1.39 MB / 455.7 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000656/0.3638, allocations: 38.28 kB / 455.8 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.169e-05/0.3638, allocations: 30.59 kB / 455.8 MB, free: 10.45 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.0003785/0.3642, allocations: 236.8 kB / 456 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.3643, allocations: 73.59 kB / 456.1 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007257/0.365, allocations: 323.4 kB / 456.4 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.3651, allocations: 4.469 kB / 456.4 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.3651, allocations: 0 / 456.4 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.218e-06/0.3651, allocations: 4.156 kB / 456.4 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001862/0.3669, allocations: 1.103 MB / 457.5 MB, free: 9.375 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.3669, allocations: 1.375 kB / 457.5 MB, free: 9.375 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000253/0.3672, allocations: 58.98 kB / 457.6 MB, free: 9.371 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.677e-05/0.3673, allocations: 22.61 kB / 457.6 MB, free: 9.359 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/0.3673, allocations: 8.125 kB / 457.6 MB, free: 9.355 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001088/0.3684, allocations: 1.375 MB / 459 MB, free: 7.949 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3684, allocations: 2.75 kB / 459 MB, free: 7.949 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009589/0.3694, allocations: 0.5578 MB / 459.6 MB, free: 7.594 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002636/0.3696, allocations: 174.8 kB / 459.7 MB, free: 7.438 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.771e-05/0.3697, allocations: 8.844 kB / 459.7 MB, free: 7.434 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000319/0.37, allocations: 22.56 kB / 459.8 MB, free: 7.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.329e-05/0.3701, allocations: 30.44 kB / 459.8 MB, free: 7.418 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.3701, allocations: 7.656 kB / 459.8 MB, free: 7.418 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007833/0.3709, allocations: 0.5016 MB / 460.3 MB, free: 7.191 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3709, allocations: 0 / 460.3 MB, free: 7.191 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007554/0.3717, allocations: 162.2 kB / 460.5 MB, free: 7.176 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.001452/0.3731, allocations: 1.132 MB / 461.6 MB, free: 6.266 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001098/0.3742, allocations: 449.2 kB / 462 MB, free: 6.043 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.3742, allocations: 1.344 kB / 462 MB, free: 6.043 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004224/0.3746, allocations: 238.8 kB / 462.3 MB, free: 5.887 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.3757, allocations: 189.8 kB / 462.5 MB, free: 5.824 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/0.3859, allocations: 6.268 MB / 468.7 MB, free: 1.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006434/0.3866, allocations: 0.9411 MB / 469.7 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003889/0.387, allocations: 88.14 kB / 469.7 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003913/0.3874, allocations: 307.6 kB / 470 MB, free: 420 kB / 366.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3874, allocations: 0 / 470 MB, free: 420 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0519/0.4393, allocations: 15.56 MB / 485.6 MB, free: 4.285 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.16, allocations: 2.531 kB / 485.6 MB, free: 4.285 MB / 382.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.226305208998383]