Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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.002261/0.002261, allocations: 110 kB / 20.43 MB, free: 1.453 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.002443/0.002443, allocations: 212.5 kB / 23.74 MB, free: 4.66 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.513/1.513, allocations: 230.5 MB / 257.4 MB, free: 7.973 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.DCSE_Start,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 71.89 kB / 377.8 MB, free: 2.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2929, allocations: 53.41 MB / 431.2 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.01034/0.3033, allocations: 8.162 MB / 439.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007171/0.3104, allocations: 2.692 MB / 442.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001375/0.3118, allocations: 27.88 kB / 442.1 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0023/0.3141, allocations: 0.5676 MB / 442.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002123/0.3162, allocations: 0.4964 MB / 443.1 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000786/0.317, allocations: 247.7 kB / 443.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002653/0.3197, allocations: 1.478 MB / 444.9 MB, free: 8.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009616/0.3206, allocations: 407.2 kB / 445.3 MB, free: 8.504 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001263/0.3219, allocations: 0.5681 MB / 445.8 MB, free: 7.934 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00112/0.323, allocations: 0.6066 MB / 446.4 MB, free: 7.324 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002186/0.3232, allocations: 136 kB / 446.6 MB, free: 7.191 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003529/0.3236, allocations: 176 kB / 446.7 MB, free: 7.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003071/0.3239, allocations: 282.9 kB / 447 MB, free: 6.742 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008984/0.3248, allocations: 0.6649 MB / 447.7 MB, free: 6.074 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002827/0.3276, allocations: 1.736 MB / 449.4 MB, free: 4.336 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3276, allocations: 0 / 449.4 MB, free: 4.336 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3276, allocations: 0 / 449.4 MB, free: 4.336 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.935e-05/0.3277, allocations: 0 / 449.4 MB, free: 4.336 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.003683/0.3313, allocations: 1.403 MB / 450.8 MB, free: 2.898 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.3314, allocations: 8.031 kB / 450.8 MB, free: 2.891 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001857/0.3316, allocations: 156.4 kB / 451 MB, free: 2.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.3326, allocations: 196 kB / 451.2 MB, free: 2.539 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001887/0.3345, allocations: 0.6727 MB / 451.8 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.555e-05/0.3346, allocations: 70 kB / 451.9 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002117/0.3348, allocations: 99.95 kB / 452 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002268/0.3371, allocations: 0.9386 MB / 453 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.538e-05/0.3371, allocations: 4 kB / 453 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/0.3372, allocations: 36 kB / 453 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-05/0.3373, allocations: 24 kB / 453 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001848/0.3391, allocations: 0.648 MB / 453.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007635/0.3468, allocations: 3.778 MB / 457.4 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.3478, allocations: 338.8 kB / 457.8 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009/0.3487, allocations: 254 kB / 458 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.497e-05/0.3487, allocations: 4.328 kB / 458 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/0.3487, allocations: 42.89 kB / 458.1 MB, free: 11.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 2.474e-06/0.3487, allocations: 0 / 458.1 MB, free: 11.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.003501/0.3522, allocations: 1.268 MB / 459.3 MB, free: 10.05 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.213e-05/0.3523, allocations: 81.11 kB / 459.4 MB, free: 9.953 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/0.3536, allocations: 0.8176 MB / 460.2 MB, free: 9.125 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.146e-05/0.3536, allocations: 37.7 kB / 460.3 MB, free: 9.082 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004885/0.3541, allocations: 0.5735 MB / 460.8 MB, free: 8.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/0.3543, allocations: 166.6 kB / 461 MB, free: 8.336 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000194/0.3545, allocations: 130.6 kB / 461.1 MB, free: 8.203 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001888/0.3546, allocations: 334 kB / 461.5 MB, free: 7.871 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003705/0.355, allocations: 165.9 kB / 461.6 MB, free: 7.707 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006152/0.3556, allocations: 460 kB / 462.1 MB, free: 7.125 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.3567, allocations: 0.6622 MB / 462.7 MB, free: 6.328 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.3567, allocations: 0 / 462.7 MB, free: 6.328 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001559/0.3582, allocations: 0.7788 MB / 463.5 MB, free: 5.539 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/0.3583, allocations: 10.66 kB / 463.5 MB, free: 5.531 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/0.3583, allocations: 8 kB / 463.5 MB, free: 5.523 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003258/0.3586, allocations: 89.86 kB / 463.6 MB, free: 5.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005245/0.3591, allocations: 155.7 kB / 463.8 MB, free: 5.277 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002931/0.3621, allocations: 2.924 MB / 466.7 MB, free: 2.125 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006551/0.3627, allocations: 44.12 kB / 466.7 MB, free: 2.082 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.234e-05/0.3628, allocations: 36 kB / 466.8 MB, free: 2.047 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004719/0.3633, allocations: 265.5 kB / 467 MB, free: 1.777 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001897/0.3635, allocations: 91.44 kB / 467.1 MB, free: 1.688 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/0.3645, allocations: 491.1 kB / 467.6 MB, free: 1.195 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.3645, allocations: 4 kB / 467.6 MB, free: 1.191 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3645, allocations: 7.938 kB / 467.6 MB, free: 1.184 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/0.3645, allocations: 3.984 kB / 467.6 MB, free: 1.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002553/0.3671, allocations: 1.403 MB / 469 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.3671, allocations: 48 / 469 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003128/0.3674, allocations: 79.88 kB / 469.1 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002197/0.3676, allocations: 69.83 kB / 469.2 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.302e-05/0.3676, allocations: 16 kB / 469.2 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002642/0.3703, allocations: 2.92 MB / 472.1 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.11e-05/0.3703, allocations: 0 / 472.1 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/0.3716, allocations: 0.7748 MB / 472.9 MB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003064/0.3719, allocations: 127.3 kB / 473 MB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.745e-05/0.372, allocations: 12 kB / 473 MB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003922/0.3724, allocations: 23.98 kB / 473 MB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.063e-05/0.3725, allocations: 39.94 kB / 473.1 MB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.24e-05/0.3725, allocations: 8 kB / 473.1 MB, free: 11.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008214/0.3733, allocations: 0.5654 MB / 473.6 MB, free: 10.79 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3733, allocations: 4 kB / 473.6 MB, free: 10.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008621/0.3742, allocations: 204 kB / 473.8 MB, free: 10.59 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.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 (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (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.001759/0.376, allocations: 1.338 MB / 475.2 MB, free: 9.199 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001307/0.3773, allocations: 0.6742 MB / 475.9 MB, free: 8.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.3773, allocations: 0 / 475.9 MB, free: 8.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006807/0.378, allocations: 430 kB / 476.3 MB, free: 8.055 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.379, allocations: 222.4 kB / 476.5 MB, free: 7.844 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01134/0.3903, allocations: 7.327 MB / 483.8 MB, free: 76 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007856/0.3911, allocations: 1.009 MB / 484.8 MB, free: 15.04 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004595/0.3915, allocations: 99.27 kB / 484.9 MB, free: 14.94 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004916/0.392, allocations: 371.3 kB / 485.3 MB, free: 14.57 MB / 398.1 MB Notification: Performance of SimCode: time 1.823e-06/0.392, allocations: 0 / 485.3 MB, free: 14.57 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06432/0.4564, allocations: 19.72 MB / 0.4932 GB, free: 11.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.87/13.33, allocations: 3.781 kB / 0.4932 GB, free: 11.09 MB / 414.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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_DCSE_Start.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable loadInertia.phi in file Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.csv. Warning: Get data of variable loadInertia.phi from file Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.csv failed! Error: Could not read variable loadInertia.w in file Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.482327263001935]