Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001636/0.001636, allocations: 103.6 kB / 21.18 MB, free: 472 kB / 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.002049/0.002049, allocations: 214.9 kB / 24.47 MB, free: 3.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.491/1.491, allocations: 207.7 MB / 235.3 MB, free: 9.785 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 54.89 kB / 347.2 MB, free: 9.883 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2934, allocations: 49.16 MB / 396.4 MB, free: 8.863 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.007291/0.3006, allocations: 6.295 MB / 402.7 MB, free: 4.719 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004395/0.305, allocations: 2.222 MB / 404.9 MB, free: 3.148 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009275/0.306, allocations: 25.12 kB / 404.9 MB, free: 3.141 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001373/0.3073, allocations: 478.9 kB / 405.4 MB, free: 2.922 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001234/0.3086, allocations: 410.9 kB / 405.8 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005049/0.3091, allocations: 202.7 kB / 406 MB, free: 2.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001214/0.3103, allocations: 1.202 MB / 407.2 MB, free: 1.848 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004793/0.3108, allocations: 314.7 kB / 407.5 MB, free: 1.656 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005015/0.3113, allocations: 480.5 kB / 407.9 MB, free: 1.414 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004731/0.3117, allocations: 435.5 kB / 408.4 MB, free: 1.211 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001243/0.3119, allocations: 116.7 kB / 408.5 MB, free: 1.207 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002928/0.3122, allocations: 151 kB / 408.6 MB, free: 1.199 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.3123, allocations: 227.6 kB / 408.9 MB, free: 1.031 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003673/0.3127, allocations: 449.8 kB / 409.3 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001597/0.3143, allocations: 1.452 MB / 410.7 MB, free: 100 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3143, allocations: 0.9375 kB / 410.7 MB, free: 100 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3143, allocations: 0 / 410.7 MB, free: 100 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.854e-05/0.3143, allocations: 0 / 410.7 MB, free: 100 kB / 318.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.002247/0.3165, allocations: 1.202 MB / 411.9 MB, free: 15.17 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.3166, allocations: 13.61 kB / 412 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001559/0.3167, allocations: 125.3 kB / 412.1 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000519/0.3173, allocations: 148.9 kB / 412.2 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/0.3184, allocations: 0.586 MB / 412.8 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.479e-05/0.3185, allocations: 58.34 kB / 412.9 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.3186, allocations: 83 kB / 413 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001349/0.3199, allocations: 0.8252 MB / 413.8 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.282e-05/0.32, allocations: 9.109 kB / 413.8 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.881e-05/0.32, allocations: 32.12 kB / 413.8 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/0.3201, allocations: 27.08 kB / 413.8 MB, free: 13.87 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.3211, allocations: 0.5223 MB / 414.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004373/0.3254, allocations: 3.034 MB / 417.4 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005158/0.326, allocations: 228.1 kB / 417.6 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002432/0.3262, allocations: 111.3 kB / 417.7 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/0.3262, allocations: 5.203 kB / 417.7 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.3263, allocations: 38.5 kB / 417.8 MB, free: 10.78 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 1.794e-06/0.3263, allocations: 0 / 417.8 MB, free: 10.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=28): time 0.001986/0.3282, allocations: 0.9111 MB / 418.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.632e-05/0.3283, allocations: 80.14 kB / 418.8 MB, free: 10.09 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.3293, allocations: 0.7604 MB / 419.5 MB, free: 9.641 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.149e-05/0.3294, allocations: 30.77 kB / 419.6 MB, free: 9.605 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000409/0.3298, allocations: 0.5005 MB / 420.1 MB, free: 9.152 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.535e-05/0.3299, allocations: 109.4 kB / 420.2 MB, free: 9.059 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001674/0.33, allocations: 112.9 kB / 420.3 MB, free: 8.984 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002176/0.3303, allocations: 379.2 kB / 420.6 MB, free: 8.621 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002732/0.3305, allocations: 127.4 kB / 420.8 MB, free: 8.559 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005337/0.3311, allocations: 441.1 kB / 421.2 MB, free: 8.086 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008108/0.3319, allocations: 0.57 MB / 421.8 MB, free: 7.551 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.3319, allocations: 6.562 kB / 421.8 MB, free: 7.547 MB / 334.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001035/0.3329, allocations: 0.6149 MB / 422.4 MB, free: 7.219 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.3329, allocations: 13.78 kB / 422.4 MB, free: 7.215 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.3329, allocations: 8.594 kB / 422.4 MB, free: 7.215 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001437/0.3331, allocations: 30.55 kB / 422.4 MB, free: 7.203 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004071/0.3335, allocations: 142.5 kB / 422.6 MB, free: 7.168 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001148/0.3346, allocations: 1.28 MB / 423.9 MB, free: 5.863 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004507/0.3351, allocations: 38.03 kB / 423.9 MB, free: 5.844 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.977e-05/0.3351, allocations: 33.25 kB / 423.9 MB, free: 5.836 MB / 334.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.0003195/0.3355, allocations: 229.1 kB / 424.2 MB, free: 5.648 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.3356, allocations: 78.14 kB / 424.2 MB, free: 5.605 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006425/0.3362, allocations: 330.2 kB / 424.6 MB, free: 5.398 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.3362, allocations: 4.047 kB / 424.6 MB, free: 5.398 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3362, allocations: 3.984 kB / 424.6 MB, free: 5.395 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.3362, allocations: 1.469 kB / 424.6 MB, free: 5.395 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001646/0.3379, allocations: 1.002 MB / 425.6 MB, free: 4.625 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.3379, allocations: 2.375 kB / 425.6 MB, free: 4.625 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002428/0.3381, allocations: 55.97 kB / 425.6 MB, free: 4.613 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.161e-05/0.3382, allocations: 24.19 kB / 425.6 MB, free: 4.598 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/0.3382, allocations: 13.28 kB / 425.7 MB, free: 4.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001032/0.3392, allocations: 1.268 MB / 426.9 MB, free: 3.289 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.3392, allocations: 2.031 kB / 426.9 MB, free: 3.289 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008945/0.3401, allocations: 0.5516 MB / 427.5 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000241/0.3404, allocations: 95.53 kB / 427.6 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.078e-05/0.3405, allocations: 11.98 kB / 427.6 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003099/0.3408, allocations: 24.05 kB / 427.6 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.405e-05/0.3408, allocations: 27.84 kB / 427.6 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.708e-05/0.3409, allocations: 15.98 kB / 427.6 MB, free: 2.703 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006915/0.3416, allocations: 0.4991 MB / 428.1 MB, free: 2.207 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3416, allocations: 0 / 428.1 MB, free: 2.207 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006973/0.3423, allocations: 160 kB / 428.3 MB, free: 2.051 MB / 334.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.001313/0.3436, allocations: 1.117 MB / 429.4 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009252/0.3445, allocations: 445.1 kB / 429.9 MB, free: 448 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.3445, allocations: 4 kB / 429.9 MB, free: 444 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003732/0.3449, allocations: 235.2 kB / 430.1 MB, free: 196 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008945/0.3458, allocations: 198.9 kB / 430.3 MB, free: 16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009143/0.3549, allocations: 6.274 MB / 436.6 MB, free: 9.312 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004228/0.3553, allocations: 352.5 kB / 436.9 MB, free: 8.941 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003808/0.3557, allocations: 86.03 kB / 437 MB, free: 8.855 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004169/0.3561, allocations: 303.3 kB / 437.3 MB, free: 8.559 MB / 350.1 MB Notification: Performance of SimCode: time 1.172e-06/0.3561, allocations: 0 / 437.3 MB, free: 8.559 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05688/0.413, allocations: 16.92 MB / 454.2 MB, free: 7.562 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.19, allocations: 8 kB / 454.2 MB, free: 7.555 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start/DCPM_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.184571526944637]