Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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.001297/0.001297, allocations: 109.6 kB / 21.18 MB, free: 0.6992 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.001543/0.001543, allocations: 216.7 kB / 24.5 MB, free: 4.027 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.342/1.342, allocations: 207.6 MB / 235.3 MB, free: 10.02 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.DCSE_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_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.001747/0.001747, allocations: 55.91 kB / 347.2 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2492, allocations: 49.16 MB / 396.4 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.008171/0.2574, allocations: 8.101 MB / 404.5 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004382/0.2618, allocations: 2.687 MB / 407.1 MB, free: 1.242 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008903/0.2627, allocations: 31.72 kB / 407.2 MB, free: 1.23 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001357/0.264, allocations: 0.5794 MB / 407.8 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001027/0.265, allocations: 0.4929 MB / 408.3 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004777/0.2655, allocations: 257 kB / 408.5 MB, free: 412 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001701/0.2672, allocations: 1.474 MB / 410 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006698/0.2679, allocations: 402.5 kB / 410.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009532/0.2688, allocations: 0.571 MB / 410.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008109/0.2697, allocations: 0.597 MB / 411.5 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001595/0.2698, allocations: 138.3 kB / 411.7 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003664/0.2702, allocations: 177.1 kB / 411.8 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002493/0.2704, allocations: 282.3 kB / 412.1 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006799/0.2711, allocations: 0.6629 MB / 412.8 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002222/0.2733, allocations: 1.732 MB / 414.5 MB, free: 13 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2733, allocations: 0 / 414.5 MB, free: 13 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2733, allocations: 0 / 414.5 MB, free: 13 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.037e-05/0.2734, allocations: 1.781 kB / 414.5 MB, free: 13 MB / 334.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.00269/0.2761, allocations: 1.408 MB / 415.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.2761, allocations: 13.3 kB / 415.9 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001884/0.2763, allocations: 152.4 kB / 416.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006887/0.277, allocations: 194.5 kB / 416.3 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001384/0.2784, allocations: 0.6835 MB / 417 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.454e-05/0.2784, allocations: 70.12 kB / 417 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/0.2786, allocations: 96.94 kB / 417.1 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001594/0.2801, allocations: 0.931 MB / 418.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.603e-05/0.2802, allocations: 8.859 kB / 418.1 MB, free: 10.53 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.986e-05/0.2803, allocations: 49.09 kB / 418.1 MB, free: 10.49 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.254e-05/0.2803, allocations: 25 kB / 418.1 MB, free: 10.49 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001265/0.2815, allocations: 0.6304 MB / 418.8 MB, free: 10.19 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005854/0.2874, allocations: 3.771 MB / 422.5 MB, free: 7.008 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006988/0.2881, allocations: 341.6 kB / 422.9 MB, free: 6.82 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005649/0.2887, allocations: 248 kB / 423.1 MB, free: 6.707 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.891e-05/0.2887, allocations: 4.453 kB / 423.1 MB, free: 6.707 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.2887, allocations: 37.64 kB / 423.2 MB, free: 6.664 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 2.675e-06/0.2887, allocations: 4 kB / 423.2 MB, free: 6.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=44): time 0.002852/0.2916, allocations: 1.275 MB / 424.4 MB, free: 5.855 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.925e-05/0.2917, allocations: 82.7 kB / 424.5 MB, free: 5.762 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/0.2928, allocations: 0.823 MB / 425.3 MB, free: 5.293 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.768e-05/0.2929, allocations: 32.08 kB / 425.4 MB, free: 5.258 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004638/0.2933, allocations: 0.5678 MB / 425.9 MB, free: 4.746 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.2935, allocations: 166.5 kB / 426.1 MB, free: 4.602 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001887/0.2937, allocations: 133.9 kB / 426.2 MB, free: 4.516 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.2938, allocations: 335.1 kB / 426.6 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003287/0.2941, allocations: 163.8 kB / 426.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000557/0.2947, allocations: 459.7 kB / 427.2 MB, free: 3.645 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009635/0.2957, allocations: 0.6687 MB / 427.8 MB, free: 3.047 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.2957, allocations: 7.5 kB / 427.8 MB, free: 3.043 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00142/0.2971, allocations: 0.7617 MB / 428.6 MB, free: 2.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.2971, allocations: 8 kB / 428.6 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/0.2971, allocations: 12 kB / 428.6 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000287/0.2974, allocations: 93.8 kB / 428.7 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000491/0.2979, allocations: 147.8 kB / 428.9 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002701/0.3006, allocations: 2.931 MB / 431.8 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006571/0.3013, allocations: 40.05 kB / 431.8 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-05/0.3013, allocations: 32 kB / 431.9 MB, free: 14.83 MB / 350.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.0004316/0.3017, allocations: 254 kB / 432.1 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.3019, allocations: 99.38 kB / 432.2 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009882/0.3029, allocations: 0.4916 MB / 432.7 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.3029, allocations: 4 kB / 432.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.3029, allocations: 0 / 432.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.3029, allocations: 0 / 432.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002365/0.3052, allocations: 1.404 MB / 434.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.3052, allocations: 4.031 kB / 434.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003019/0.3055, allocations: 75.89 kB / 434.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002085/0.3058, allocations: 69.62 kB / 434.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.799e-05/0.3058, allocations: 15.98 kB / 434.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002476/0.3083, allocations: 2.923 MB / 437.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.3083, allocations: 4.125 kB / 437.2 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/0.3096, allocations: 0.7712 MB / 438 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00032/0.3099, allocations: 131.4 kB / 438.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.31, allocations: 11.98 kB / 438.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004156/0.3104, allocations: 23.98 kB / 438.1 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.052e-05/0.3105, allocations: 31.94 kB / 438.2 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.841e-05/0.3105, allocations: 20 kB / 438.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008059/0.3113, allocations: 0.5615 MB / 438.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3113, allocations: 0 / 438.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009031/0.3122, allocations: 204 kB / 438.9 MB, free: 7.371 MB / 350.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.001693/0.3139, allocations: 1.341 MB / 440.3 MB, free: 5.977 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001241/0.3151, allocations: 0.6673 MB / 440.9 MB, free: 5.285 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.3151, allocations: 8.062 kB / 441 MB, free: 5.277 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007722/0.3159, allocations: 424.8 kB / 441.4 MB, free: 4.836 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/0.317, allocations: 225.2 kB / 441.6 MB, free: 4.621 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01191/0.3289, allocations: 7.327 MB / 448.9 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007288/0.3296, allocations: 1.012 MB / 449.9 MB, free: 11.81 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004288/0.3301, allocations: 103.2 kB / 450 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004625/0.3305, allocations: 371.3 kB / 450.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3305, allocations: 0 / 450.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06193/0.3925, allocations: 19.72 MB / 470.1 MB, free: 7.543 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/13.14, allocations: 4.062 kB / 470.1 MB, free: 7.539 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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/DCSE_Start/DCSE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.csv. Warning: Get data of variable loadInertia.phi from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.csv failed! Error: Could not read variable loadInertia.w in file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.043274609000946]