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.001873/0.001873, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002242/0.002242, allocations: 215.5 kB / 23.73 MB, free: 4.406 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.535/1.535, allocations: 230.5 MB / 257.4 MB, free: 7.773 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.002057/0.002057, allocations: 63.91 kB / 377.7 MB, free: 2.812 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2569, allocations: 53.41 MB / 431.2 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.009887/0.2668, allocations: 7.148 MB / 438.3 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005594/0.2724, allocations: 2.486 MB / 440.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001297/0.2737, allocations: 27.88 kB / 440.8 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00175/0.2754, allocations: 0.5209 MB / 441.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001449/0.2769, allocations: 0.4925 MB / 441.8 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005533/0.2775, allocations: 243.7 kB / 442.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001729/0.2792, allocations: 1.479 MB / 443.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006272/0.2798, allocations: 377.1 kB / 443.9 MB, free: 9.621 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007915/0.2806, allocations: 0.5759 MB / 444.5 MB, free: 9.043 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006385/0.2812, allocations: 0.5168 MB / 445 MB, free: 8.523 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001729/0.2814, allocations: 140 kB / 445.1 MB, free: 8.387 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003259/0.2817, allocations: 176 kB / 445.3 MB, free: 8.215 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002203/0.282, allocations: 275 kB / 445.6 MB, free: 7.945 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005297/0.2825, allocations: 0.5327 MB / 446.1 MB, free: 7.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001833/0.2843, allocations: 1.755 MB / 447.9 MB, free: 5.648 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2843, allocations: 0 / 447.9 MB, free: 5.648 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2843, allocations: 3.938 kB / 447.9 MB, free: 5.645 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.527e-05/0.2843, allocations: 0 / 447.9 MB, free: 5.645 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.002334/0.2867, allocations: 1.4 MB / 449.3 MB, free: 4.211 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.2867, allocations: 15.98 kB / 449.3 MB, free: 4.195 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001837/0.2869, allocations: 156.4 kB / 449.4 MB, free: 4.035 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006378/0.2875, allocations: 188 kB / 449.6 MB, free: 3.852 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001292/0.2888, allocations: 0.6727 MB / 450.3 MB, free: 3.148 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.069e-05/0.2889, allocations: 77.92 kB / 450.4 MB, free: 3.074 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001581/0.289, allocations: 104 kB / 450.5 MB, free: 2.973 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001658/0.2907, allocations: 1.031 MB / 451.5 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.356e-05/0.2907, allocations: 3.984 kB / 451.5 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.203e-05/0.2908, allocations: 44 kB / 451.6 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.435e-05/0.2908, allocations: 28 kB / 451.6 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001249/0.2921, allocations: 0.6324 MB / 452.2 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005217/0.2973, allocations: 3.502 MB / 455.7 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006745/0.298, allocations: 338.8 kB / 456.1 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006123/0.2986, allocations: 250.2 kB / 456.3 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.077e-05/0.2986, allocations: 8.312 kB / 456.3 MB, free: 12.87 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.2987, allocations: 38.89 kB / 456.3 MB, free: 12.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 1.883e-06/0.2987, allocations: 0 / 456.3 MB, free: 12.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002647/0.3013, allocations: 1.264 MB / 457.6 MB, free: 11.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.777e-05/0.3014, allocations: 81.11 kB / 457.7 MB, free: 11.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.3026, allocations: 0.8408 MB / 458.5 MB, free: 10.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.823e-05/0.3026, allocations: 33.7 kB / 458.6 MB, free: 10.54 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004701/0.3031, allocations: 0.5697 MB / 459.1 MB, free: 9.957 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.3032, allocations: 170.6 kB / 459.3 MB, free: 9.789 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001918/0.3034, allocations: 134.6 kB / 459.4 MB, free: 9.652 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.3036, allocations: 330 kB / 459.8 MB, free: 9.324 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003593/0.304, allocations: 165.9 kB / 459.9 MB, free: 9.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006064/0.3046, allocations: 485.7 kB / 460.4 MB, free: 8.547 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000981/0.3055, allocations: 0.6622 MB / 461 MB, free: 7.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.796e-06/0.3056, allocations: 11.94 kB / 461.1 MB, free: 7.738 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001386/0.3069, allocations: 0.7671 MB / 461.8 MB, free: 6.961 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.307, allocations: 12 kB / 461.8 MB, free: 6.949 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.307, allocations: 8 kB / 461.8 MB, free: 6.941 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002642/0.3072, allocations: 89.86 kB / 461.9 MB, free: 6.848 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004955/0.3077, allocations: 155.7 kB / 462.1 MB, free: 6.695 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002668/0.3104, allocations: 2.912 MB / 465 MB, free: 3.555 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005314/0.3109, allocations: 35.95 kB / 465 MB, free: 3.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.981e-05/0.311, allocations: 35.98 kB / 465.1 MB, free: 3.484 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.0003825/0.3114, allocations: 269.4 kB / 465.3 MB, free: 3.211 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/0.3115, allocations: 95.5 kB / 465.4 MB, free: 3.117 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009584/0.3125, allocations: 491.4 kB / 465.9 MB, free: 2.625 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.3125, allocations: 8 kB / 465.9 MB, free: 2.617 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.3125, allocations: 0 / 465.9 MB, free: 2.617 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.3125, allocations: 3.984 kB / 465.9 MB, free: 2.613 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002193/0.3147, allocations: 1.31 MB / 467.2 MB, free: 1.227 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.3147, allocations: 4 kB / 467.2 MB, free: 1.223 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003031/0.315, allocations: 68.12 kB / 467.3 MB, free: 1.156 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002056/0.3152, allocations: 73.67 kB / 467.4 MB, free: 1.078 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.492e-05/0.3152, allocations: 8 kB / 467.4 MB, free: 1.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002524/0.3177, allocations: 2.904 MB / 470.3 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/0.3177, allocations: 7.969 kB / 470.3 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001331/0.3191, allocations: 0.7749 MB / 471.1 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003058/0.3194, allocations: 131.4 kB / 471.2 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.392e-05/0.3195, allocations: 8 kB / 471.2 MB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004206/0.3199, allocations: 35.97 kB / 471.2 MB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.325e-05/0.32, allocations: 35.88 kB / 471.3 MB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.581e-05/0.32, allocations: 12 kB / 471.3 MB, free: 12.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008119/0.3208, allocations: 0.5615 MB / 471.8 MB, free: 12.33 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3208, allocations: 0 / 471.8 MB, free: 12.33 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008062/0.3216, allocations: 211.9 kB / 472.1 MB, free: 12.12 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.001802/0.3234, allocations: 1.322 MB / 473.4 MB, free: 10.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00123/0.3246, allocations: 0.6786 MB / 474.1 MB, free: 10.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3246, allocations: 4 kB / 474.1 MB, free: 10.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006651/0.3253, allocations: 429 kB / 474.5 MB, free: 9.598 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.3263, allocations: 234.5 kB / 474.7 MB, free: 9.379 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01069/0.337, allocations: 7.319 MB / 482 MB, free: 1.621 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004572/0.3375, allocations: 413.9 kB / 482.4 MB, free: 1.188 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004188/0.3379, allocations: 107.2 kB / 482.5 MB, free: 1.078 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004816/0.3384, allocations: 375.3 kB / 482.9 MB, free: 0.7109 MB / 382.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3384, allocations: 4 kB / 482.9 MB, free: 0.707 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06503/0.4034, allocations: 20.88 MB / 0.492 GB, free: 12.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/12.71, allocations: 9.734 kB / 0.492 GB, free: 12.11 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: 15.835317004937679]