Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.001604/0.001604, allocations: 118.9 kB / 17.79 MB, free: 5.285 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.001809/0.001809, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.482/1.482, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.DCEE_Start,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 47.92 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1073, allocations: 53.32 MB / 426.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.2132/0.3205, allocations: 8.028 MB / 434.4 MB, free: 7.293 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004402/0.3249, allocations: 2.632 MB / 437 MB, free: 5.984 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001328/0.3263, allocations: 28.75 kB / 437 MB, free: 5.977 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001887/0.3282, allocations: 0.5673 MB / 437.6 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002137/0.3303, allocations: 490.4 kB / 438.1 MB, free: 5.457 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007524/0.3311, allocations: 243.2 kB / 438.3 MB, free: 5.449 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002418/0.3335, allocations: 1.432 MB / 439.7 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008533/0.3343, allocations: 404.7 kB / 440.1 MB, free: 4.562 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001256/0.3356, allocations: 0.5644 MB / 440.7 MB, free: 4.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008242/0.3364, allocations: 0.5847 MB / 441.3 MB, free: 3.949 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002405/0.3366, allocations: 136.4 kB / 441.4 MB, free: 3.949 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004844/0.3371, allocations: 173 kB / 441.6 MB, free: 3.941 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001921/0.3373, allocations: 276 kB / 441.8 MB, free: 3.738 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008099/0.3381, allocations: 0.6416 MB / 442.5 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002843/0.341, allocations: 1.717 MB / 444.2 MB, free: 2.664 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.341, allocations: 0.9688 kB / 444.2 MB, free: 2.664 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.341, allocations: 0 / 444.2 MB, free: 2.664 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.282e-05/0.341, allocations: 0 / 444.2 MB, free: 2.664 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.003231/0.3443, allocations: 1.456 MB / 445.7 MB, free: 1.668 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.3443, allocations: 10.56 kB / 445.7 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002097/0.3445, allocations: 150.7 kB / 445.8 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006742/0.3452, allocations: 176.8 kB / 446 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001414/0.3466, allocations: 0.7334 MB / 446.7 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.16e-05/0.3467, allocations: 72.56 kB / 446.8 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/0.3468, allocations: 99.62 kB / 446.9 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001593/0.3484, allocations: 0.919 MB / 447.8 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.704e-05/0.3484, allocations: 6.328 kB / 447.8 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.437e-05/0.3485, allocations: 41.03 kB / 447.9 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.212e-05/0.3485, allocations: 28.22 kB / 447.9 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001223/0.3498, allocations: 0.6225 MB / 448.5 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006081/0.3558, allocations: 3.889 MB / 452.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006451/0.3565, allocations: 336.7 kB / 452.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003035/0.3568, allocations: 139.2 kB / 452.9 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/0.3568, allocations: 3 kB / 452.9 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.3569, allocations: 37.52 kB / 452.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 1.924e-06/0.3569, allocations: 1 kB / 452.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.002736/0.3596, allocations: 1.207 MB / 454.1 MB, free: 12.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.382e-05/0.3597, allocations: 80.75 kB / 454.2 MB, free: 12.33 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001358/0.361, allocations: 0.8239 MB / 455 MB, free: 11.97 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.405e-05/0.3611, allocations: 31.05 kB / 455 MB, free: 11.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005075/0.3616, allocations: 0.5903 MB / 455.6 MB, free: 11.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001276/0.3617, allocations: 133 kB / 455.8 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001954/0.3619, allocations: 130.1 kB / 455.9 MB, free: 11.28 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.3621, allocations: 333.9 kB / 456.2 MB, free: 10.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003218/0.3624, allocations: 148.5 kB / 456.4 MB, free: 10.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005714/0.363, allocations: 459.2 kB / 456.8 MB, free: 10.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009235/0.3639, allocations: 0.6344 MB / 457.4 MB, free: 9.891 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.3639, allocations: 3 kB / 457.4 MB, free: 9.891 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001347/0.3652, allocations: 0.696 MB / 458.1 MB, free: 9.578 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.3653, allocations: 8.406 kB / 458.2 MB, free: 9.578 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/0.3653, allocations: 14.12 kB / 458.2 MB, free: 9.574 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001731/0.3654, allocations: 34.02 kB / 458.2 MB, free: 9.562 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005086/0.366, allocations: 160.4 kB / 458.4 MB, free: 9.543 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001325/0.3673, allocations: 1.392 MB / 459.7 MB, free: 8.125 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007032/0.368, allocations: 34.86 kB / 459.8 MB, free: 8.113 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.624e-05/0.368, allocations: 31.72 kB / 459.8 MB, free: 8.109 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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): 83 * 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.0004435/0.3685, allocations: 256.7 kB / 460.1 MB, free: 7.902 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001685/0.3687, allocations: 91.38 kB / 460.2 MB, free: 7.852 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008051/0.3695, allocations: 379.5 kB / 460.5 MB, free: 7.676 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.3695, allocations: 5.438 kB / 460.5 MB, free: 7.676 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.3695, allocations: 0 / 460.5 MB, free: 7.676 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.3695, allocations: 1.875 kB / 460.5 MB, free: 7.676 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002326/0.3718, allocations: 1.263 MB / 461.8 MB, free: 6.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.3718, allocations: 6.281 kB / 461.8 MB, free: 6.766 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003465/0.3722, allocations: 73 kB / 461.9 MB, free: 6.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001142/0.3723, allocations: 25.34 kB / 461.9 MB, free: 6.734 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.59e-05/0.3723, allocations: 8.594 kB / 461.9 MB, free: 6.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001199/0.3735, allocations: 1.371 MB / 463.3 MB, free: 5.297 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.3735, allocations: 3.688 kB / 463.3 MB, free: 5.297 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/0.3747, allocations: 0.6343 MB / 463.9 MB, free: 4.859 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003939/0.3751, allocations: 193.4 kB / 464.1 MB, free: 4.676 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.3752, allocations: 8.25 kB / 464.1 MB, free: 4.672 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003916/0.3756, allocations: 28.97 kB / 464.1 MB, free: 4.656 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.493e-05/0.3757, allocations: 27.84 kB / 464.2 MB, free: 4.641 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-05/0.3757, allocations: 12.72 kB / 464.2 MB, free: 4.637 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009241/0.3766, allocations: 0.5643 MB / 464.7 MB, free: 4.312 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3766, allocations: 0 / 464.7 MB, free: 4.312 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001017/0.3776, allocations: 192.3 kB / 464.9 MB, free: 4.293 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,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 (34): * Single equations (assignments): 33 * 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.001749/0.3794, allocations: 1.2 MB / 466.1 MB, free: 3.312 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001245/0.3806, allocations: 499.7 kB / 466.6 MB, free: 3.031 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.3806, allocations: 1.031 kB / 466.6 MB, free: 3.031 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004934/0.3811, allocations: 259.4 kB / 466.9 MB, free: 2.852 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/0.3825, allocations: 215.8 kB / 467.1 MB, free: 2.762 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01314/0.3956, allocations: 7.131 MB / 474.2 MB, free: 13.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007907/0.3964, allocations: 1 MB / 475.2 MB, free: 13.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004932/0.3969, allocations: 106.8 kB / 475.3 MB, free: 12.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005347/0.3974, allocations: 365.5 kB / 475.7 MB, free: 12.67 MB / 382.1 MB Notification: Performance of SimCode: time 1.533e-06/0.3974, allocations: 0 / 475.7 MB, free: 12.67 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06355/0.461, allocations: 18.06 MB / 493.7 MB, free: 12.13 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.73, allocations: 3.281 kB / 493.7 MB, free: 12.13 MB / 398.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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_DCEE_Start.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.DCEE_Start_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.808862906007562]