Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.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.00155/0.00155, allocations: 112.4 kB / 21.19 MB, free: 0.7031 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.001428/0.001428, allocations: 208.6 kB / 24.49 MB, free: 4.059 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.468/1.468, allocations: 207.6 MB / 235.3 MB, free: 9.992 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_SinglePhase,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase",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.001742/0.001742, allocations: 60.34 kB / 347.2 MB, free: 10.11 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2745, allocations: 49.17 MB / 396.4 MB, free: 9.168 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.008234/0.2827, allocations: 8.245 MB / 404.6 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004817/0.2875, allocations: 2.75 MB / 407.4 MB, free: 1.258 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001213/0.2887, allocations: 29.56 kB / 407.4 MB, free: 1.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001611/0.2903, allocations: 0.5732 MB / 408 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001303/0.2916, allocations: 0.5085 MB / 408.5 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005212/0.2922, allocations: 263.6 kB / 408.7 MB, free: 420 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001799/0.294, allocations: 1.497 MB / 410.2 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000712/0.2947, allocations: 404.1 kB / 410.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00094/0.2956, allocations: 0.5843 MB / 411.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007732/0.2964, allocations: 0.6115 MB / 411.8 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001642/0.2965, allocations: 139.7 kB / 411.9 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003659/0.2969, allocations: 184.7 kB / 412.1 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00027/0.2972, allocations: 288.3 kB / 412.4 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006948/0.2979, allocations: 0.6739 MB / 413.1 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00209/0.3, allocations: 1.756 MB / 414.8 MB, free: 12.9 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.842e-06/0.3, allocations: 5.172 kB / 414.8 MB, free: 12.89 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3, allocations: 0 / 414.8 MB, free: 12.89 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.218e-05/0.3, allocations: 0 / 414.8 MB, free: 12.89 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.002689/0.3027, allocations: 1.434 MB / 416.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/0.3027, allocations: 13.05 kB / 416.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001838/0.3029, allocations: 152.4 kB / 416.4 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007775/0.3037, allocations: 201.4 kB / 416.6 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/0.305, allocations: 0.692 MB / 417.3 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.674e-05/0.3051, allocations: 78.45 kB / 417.4 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.3052, allocations: 104.6 kB / 417.5 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00161/0.3068, allocations: 0.944 MB / 418.5 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.448e-05/0.3069, allocations: 4.766 kB / 418.5 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.872e-05/0.307, allocations: 41.38 kB / 418.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.049e-05/0.307, allocations: 23.31 kB / 418.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/0.3082, allocations: 0.6551 MB / 419.2 MB, free: 10.03 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005398/0.3136, allocations: 3.807 MB / 423 MB, free: 6.832 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006462/0.3143, allocations: 351.6 kB / 423.3 MB, free: 6.637 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005741/0.3149, allocations: 256.1 kB / 423.6 MB, free: 6.52 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.544e-05/0.3149, allocations: 5.281 kB / 423.6 MB, free: 6.52 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.3149, allocations: 37.22 kB / 423.6 MB, free: 6.477 MB / 334.1 MB Notification: Performance of pre-optimization done (n=41): time 2.134e-06/0.3149, allocations: 0 / 423.6 MB, free: 6.477 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.002981/0.3179, allocations: 1.342 MB / 425 MB, free: 5.641 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.325e-05/0.318, allocations: 82.02 kB / 425 MB, free: 5.547 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/0.3191, allocations: 0.8391 MB / 425.9 MB, free: 5.07 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.789e-05/0.3191, allocations: 32.27 kB / 425.9 MB, free: 5.035 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004687/0.3196, allocations: 0.5817 MB / 426.5 MB, free: 4.512 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001638/0.3198, allocations: 166.8 kB / 426.7 MB, free: 4.367 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001885/0.32, allocations: 136.9 kB / 426.8 MB, free: 4.277 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3201, allocations: 332.3 kB / 427.1 MB, free: 3.953 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003534/0.3205, allocations: 175.9 kB / 427.3 MB, free: 3.871 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006153/0.3211, allocations: 473.1 kB / 427.7 MB, free: 3.395 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009657/0.3221, allocations: 0.6822 MB / 428.4 MB, free: 2.637 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.3221, allocations: 4 kB / 428.4 MB, free: 2.633 MB / 334.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001423/0.3235, allocations: 0.7947 MB / 429.2 MB, free: 1.824 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.3235, allocations: 12 kB / 429.2 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.3235, allocations: 8.312 kB / 429.2 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002792/0.3238, allocations: 85.61 kB / 429.3 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005154/0.3243, allocations: 159.7 kB / 429.5 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002571/0.3269, allocations: 2.931 MB / 432.4 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007055/0.3276, allocations: 44.03 kB / 432.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-05/0.3276, allocations: 36 kB / 432.5 MB, free: 14.32 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 (85): * 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: 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.0004287/0.3281, allocations: 265.5 kB / 432.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.3282, allocations: 95.39 kB / 432.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001007/0.3292, allocations: 0.4956 MB / 433.3 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.3292, allocations: 8 kB / 433.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.3292, allocations: 0 / 433.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3292, allocations: 0 / 433.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002317/0.3315, allocations: 1.442 MB / 434.8 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3315, allocations: 4 kB / 434.8 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003312/0.3319, allocations: 71.89 kB / 434.9 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002105/0.3321, allocations: 73.91 kB / 434.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.946e-05/0.3321, allocations: 15.92 kB / 435 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002693/0.3348, allocations: 2.927 MB / 437.9 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.3348, allocations: 4.031 kB / 437.9 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001474/0.3363, allocations: 0.8064 MB / 438.7 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000344/0.3366, allocations: 127.3 kB / 438.8 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.3367, allocations: 15.94 kB / 438.8 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004328/0.3372, allocations: 31.97 kB / 438.9 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.077e-05/0.3373, allocations: 35.94 kB / 438.9 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.62e-05/0.3373, allocations: 16 kB / 438.9 MB, free: 7.516 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008165/0.3381, allocations: 0.5693 MB / 439.5 MB, free: 6.953 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3381, allocations: 0 / 439.5 MB, free: 6.953 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009761/0.3391, allocations: 211.9 kB / 439.7 MB, free: 6.746 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 (39): * Single equations (assignments): 37 * 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.001837/0.3409, allocations: 1.369 MB / 441.1 MB, free: 5.324 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001326/0.3422, allocations: 0.6786 MB / 441.7 MB, free: 4.621 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3422, allocations: 0 / 441.7 MB, free: 4.621 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006918/0.3429, allocations: 449.8 kB / 442.2 MB, free: 4.156 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.344, allocations: 227.2 kB / 442.4 MB, free: 3.934 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/0.3555, allocations: 7.479 MB / 449.9 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007189/0.3562, allocations: 1.017 MB / 450.9 MB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004131/0.3566, allocations: 103.3 kB / 451 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004859/0.3571, allocations: 391.3 kB / 451.4 MB, free: 10.48 MB / 366.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3571, allocations: 0 / 451.4 MB, free: 10.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06113/0.4182, allocations: 20.08 MB / 471.5 MB, free: 6.324 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.87/13.29, allocations: 4.062 kB / 471.5 MB, free: 6.32 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_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_SinglePhase.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_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_SinglePhase/DCSE_SinglePhase.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.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_SinglePhase_res.csv. Warning: Get data of variable loadInertia.phi from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.csv failed! Error: Could not read variable loadInertia.w in file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.355329320998862]