Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.001296/0.001296, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001376/0.001376, allocations: 206.6 kB / 20.75 MB, free: 2.312 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.508/1.508, allocations: 230.4 MB / 254 MB, free: 15.02 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.DCEE_Start,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 63.91 kB / 373 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1114, allocations: 53.37 MB / 426.4 MB, free: 4.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.2323/0.3436, allocations: 8.026 MB / 434.4 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003722/0.3474, allocations: 2.637 MB / 437 MB, free: 5.828 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007096/0.3481, allocations: 27.31 kB / 437.1 MB, free: 5.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001392/0.3495, allocations: 0.5698 MB / 437.6 MB, free: 5.574 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001186/0.3507, allocations: 490 kB / 438.1 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005118/0.3512, allocations: 241 kB / 438.3 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001588/0.3528, allocations: 1.426 MB / 439.8 MB, free: 4.617 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006505/0.3534, allocations: 408.1 kB / 440.2 MB, free: 4.367 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008317/0.3542, allocations: 0.5696 MB / 440.7 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006534/0.3549, allocations: 0.5845 MB / 441.3 MB, free: 3.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000177/0.3551, allocations: 137 kB / 441.5 MB, free: 3.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003664/0.3554, allocations: 171.8 kB / 441.6 MB, free: 3.742 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001686/0.3556, allocations: 271.8 kB / 441.9 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004865/0.3561, allocations: 0.6529 MB / 442.5 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002166/0.3583, allocations: 1.698 MB / 444.2 MB, free: 2.477 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.3583, allocations: 2.047 kB / 444.2 MB, free: 2.477 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3583, allocations: 0 / 444.2 MB, free: 2.477 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.034e-05/0.3583, allocations: 0 / 444.2 MB, free: 2.477 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.002872/0.3612, allocations: 1.464 MB / 445.7 MB, free: 1.473 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/0.3612, allocations: 10.47 kB / 445.7 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001958/0.3614, allocations: 150.8 kB / 445.9 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006618/0.3621, allocations: 179.4 kB / 446 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001176/0.3633, allocations: 0.7406 MB / 446.8 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.151e-05/0.3633, allocations: 72.97 kB / 446.8 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/0.3635, allocations: 95.09 kB / 446.9 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001627/0.3651, allocations: 0.9199 MB / 447.9 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.339e-05/0.3651, allocations: 10.64 kB / 447.9 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.056e-05/0.3652, allocations: 39.69 kB / 447.9 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.909e-05/0.3652, allocations: 23.84 kB / 447.9 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001319/0.3665, allocations: 0.6214 MB / 448.6 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00609/0.3726, allocations: 3.884 MB / 452.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007054/0.3733, allocations: 339.2 kB / 452.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003231/0.3737, allocations: 134.5 kB / 452.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.632e-05/0.3737, allocations: 3.875 kB / 452.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.25e-05/0.3737, allocations: 45.42 kB / 452.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.224e-06/0.3737, allocations: 0 / 452.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.002778/0.3765, allocations: 1.203 MB / 454.2 MB, free: 12.22 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.919e-05/0.3766, allocations: 80.48 kB / 454.2 MB, free: 12.13 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001305/0.3779, allocations: 0.8244 MB / 455.1 MB, free: 11.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.586e-05/0.3779, allocations: 31.08 kB / 455.1 MB, free: 11.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004471/0.3784, allocations: 0.5821 MB / 455.7 MB, free: 11.26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.3785, allocations: 134.3 kB / 455.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001788/0.3787, allocations: 129.5 kB / 455.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.3788, allocations: 333.5 kB / 456.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003042/0.3791, allocations: 150.3 kB / 456.4 MB, free: 10.72 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005397/0.3797, allocations: 464.8 kB / 456.8 MB, free: 10.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009065/0.3806, allocations: 0.6318 MB / 457.5 MB, free: 9.684 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.3806, allocations: 6.531 kB / 457.5 MB, free: 9.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001232/0.3818, allocations: 0.6913 MB / 458.2 MB, free: 9.371 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.3818, allocations: 8.406 kB / 458.2 MB, free: 9.371 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.3818, allocations: 14.25 kB / 458.2 MB, free: 9.367 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001615/0.382, allocations: 31.72 kB / 458.2 MB, free: 9.359 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004955/0.3825, allocations: 160.8 kB / 458.4 MB, free: 9.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/0.3837, allocations: 1.387 MB / 459.8 MB, free: 7.926 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005864/0.3842, allocations: 34.25 kB / 459.8 MB, free: 7.914 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.045e-05/0.3843, allocations: 35.88 kB / 459.8 MB, free: 7.906 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.0004041/0.3847, allocations: 258.3 kB / 460.1 MB, free: 7.699 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001399/0.3848, allocations: 94.78 kB / 460.2 MB, free: 7.645 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008105/0.3857, allocations: 374.4 kB / 460.6 MB, free: 7.473 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.3857, allocations: 3.438 kB / 460.6 MB, free: 7.473 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.175e-06/0.3857, allocations: 5.594 kB / 460.6 MB, free: 7.469 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.3857, allocations: 5.906 kB / 460.6 MB, free: 7.465 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00207/0.3877, allocations: 1.263 MB / 461.8 MB, free: 6.555 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.3877, allocations: 6.219 kB / 461.8 MB, free: 6.551 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003196/0.3881, allocations: 70.94 kB / 461.9 MB, free: 6.535 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.231e-05/0.3882, allocations: 25 kB / 461.9 MB, free: 6.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/0.3882, allocations: 8.094 kB / 461.9 MB, free: 6.516 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00107/0.3892, allocations: 1.381 MB / 463.3 MB, free: 5.074 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.3893, allocations: 10.31 kB / 463.3 MB, free: 5.066 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.3903, allocations: 0.631 MB / 464 MB, free: 4.633 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003177/0.3907, allocations: 192.2 kB / 464.2 MB, free: 4.449 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.596e-05/0.3908, allocations: 13.84 kB / 464.2 MB, free: 4.441 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003814/0.3911, allocations: 28.97 kB / 464.2 MB, free: 4.426 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.823e-05/0.3912, allocations: 27.88 kB / 464.2 MB, free: 4.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-05/0.3912, allocations: 12.38 kB / 464.2 MB, free: 4.406 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007767/0.392, allocations: 0.5602 MB / 464.8 MB, free: 4.086 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.392, allocations: 1.281 kB / 464.8 MB, free: 4.086 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000823/0.3928, allocations: 191.7 kB / 465 MB, free: 4.066 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.001531/0.3944, allocations: 1.196 MB / 466.2 MB, free: 3.094 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001062/0.3954, allocations: 0.4934 MB / 466.7 MB, free: 2.809 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.3954, allocations: 3.938 kB / 466.7 MB, free: 2.805 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004328/0.3959, allocations: 255.8 kB / 466.9 MB, free: 2.629 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.3969, allocations: 223.5 kB / 467.1 MB, free: 2.531 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01131/0.4082, allocations: 7.124 MB / 474.3 MB, free: 13.65 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008179/0.4091, allocations: 1.003 MB / 475.3 MB, free: 12.81 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005224/0.4096, allocations: 105.7 kB / 475.4 MB, free: 12.76 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004935/0.4101, allocations: 359.3 kB / 475.7 MB, free: 12.45 MB / 382.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4101, allocations: 2.625 kB / 475.7 MB, free: 12.45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0549/0.465, allocations: 18.06 MB / 493.8 MB, free: 11.86 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.85, allocations: 3.984 kB / 493.8 MB, free: 11.85 MB / 398.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.981322980020195]