Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001424/0.001424, allocations: 107.6 kB / 21.18 MB, free: 452 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.001619/0.001619, allocations: 214.5 kB / 24.47 MB, free: 3.777 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.327/1.327, allocations: 207.7 MB / 235.3 MB, free: 9.801 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.DCEE_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_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.002858/0.002858, allocations: 61.8 kB / 347.2 MB, free: 9.871 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.27, allocations: 49.16 MB / 396.4 MB, free: 9.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.008581/0.2786, allocations: 6.995 MB / 403.4 MB, free: 4.43 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005488/0.2841, allocations: 2.458 MB / 405.8 MB, free: 2.684 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008702/0.2849, allocations: 28.28 kB / 405.8 MB, free: 2.676 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001659/0.2866, allocations: 0.5254 MB / 406.4 MB, free: 2.422 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001249/0.2878, allocations: 489.3 kB / 406.8 MB, free: 2.074 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005372/0.2884, allocations: 240 kB / 407.1 MB, free: 1.922 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001819/0.2902, allocations: 1.429 MB / 408.5 MB, free: 1.148 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006952/0.2909, allocations: 376.4 kB / 408.9 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008429/0.2917, allocations: 0.5631 MB / 409.4 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006128/0.2924, allocations: 0.4969 MB / 409.9 MB, free: 412 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001764/0.2925, allocations: 135.8 kB / 410.1 MB, free: 412 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003509/0.2929, allocations: 171.8 kB / 410.2 MB, free: 404 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001744/0.2931, allocations: 272.5 kB / 410.5 MB, free: 200 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005412/0.2936, allocations: 0.5271 MB / 411 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002053/0.2956, allocations: 1.72 MB / 412.8 MB, free: 14.79 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2957, allocations: 0 / 412.8 MB, free: 14.79 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2957, allocations: 0 / 412.8 MB, free: 14.79 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.954e-05/0.2957, allocations: 4 kB / 412.8 MB, free: 14.79 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002621/0.2983, allocations: 1.387 MB / 414.1 MB, free: 13.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.2983, allocations: 14.27 kB / 414.2 MB, free: 13.74 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00017/0.2985, allocations: 158.5 kB / 414.3 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005372/0.299, allocations: 174.3 kB / 414.5 MB, free: 13.53 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/0.3003, allocations: 0.661 MB / 415.1 MB, free: 12.99 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.854e-05/0.3003, allocations: 72.28 kB / 415.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.3005, allocations: 103.1 kB / 415.3 MB, free: 12.92 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/0.302, allocations: 0.9924 MB / 416.3 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.194e-05/0.302, allocations: 6.062 kB / 416.3 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.791e-05/0.3021, allocations: 44.69 kB / 416.4 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.364e-05/0.3021, allocations: 28.34 kB / 416.4 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001248/0.3034, allocations: 0.6192 MB / 417 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005469/0.3088, allocations: 3.487 MB / 420.5 MB, free: 8.977 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005652/0.3094, allocations: 260.9 kB / 420.7 MB, free: 8.832 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002717/0.3097, allocations: 138.1 kB / 420.9 MB, free: 8.762 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/0.3097, allocations: 3.812 kB / 420.9 MB, free: 8.762 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.3097, allocations: 37.25 kB / 420.9 MB, free: 8.719 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 2.414e-06/0.3097, allocations: 0 / 420.9 MB, free: 8.719 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.002301/0.312, allocations: 1.059 MB / 422 MB, free: 8.039 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.527e-05/0.3121, allocations: 80.73 kB / 422.1 MB, free: 7.945 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001207/0.3133, allocations: 0.8415 MB / 422.9 MB, free: 7.461 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.561e-05/0.3133, allocations: 34.92 kB / 422.9 MB, free: 7.422 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004769/0.3138, allocations: 0.5781 MB / 423.5 MB, free: 6.902 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.3139, allocations: 139.7 kB / 423.6 MB, free: 6.781 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001684/0.3141, allocations: 123 kB / 423.8 MB, free: 6.703 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.3143, allocations: 339.3 kB / 424.1 MB, free: 6.371 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002994/0.3146, allocations: 148.6 kB / 424.2 MB, free: 6.305 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005811/0.3152, allocations: 488.8 kB / 424.7 MB, free: 5.785 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000899/0.3161, allocations: 0.6323 MB / 425.4 MB, free: 5.207 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.3161, allocations: 2.531 kB / 425.4 MB, free: 5.207 MB / 334.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001214/0.3173, allocations: 0.6853 MB / 426 MB, free: 4.758 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.3173, allocations: 15.91 kB / 426.1 MB, free: 4.742 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.3173, allocations: 8 kB / 426.1 MB, free: 4.734 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001604/0.3175, allocations: 37.41 kB / 426.1 MB, free: 4.695 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004859/0.318, allocations: 159.7 kB / 426.3 MB, free: 4.539 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001183/0.3192, allocations: 1.298 MB / 427.6 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005603/0.3197, allocations: 35.94 kB / 427.6 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.207e-05/0.3198, allocations: 32 kB / 427.6 MB, free: 3.059 MB / 334.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.0003895/0.3201, allocations: 266 kB / 427.9 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.3203, allocations: 91.41 kB / 428 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007779/0.3211, allocations: 374.2 kB / 428.3 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.3211, allocations: 4 kB / 428.3 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-06/0.3211, allocations: 3.938 kB / 428.3 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.3211, allocations: 0 / 428.3 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001892/0.323, allocations: 1.156 MB / 429.5 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.323, allocations: 3.938 kB / 429.5 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002981/0.3233, allocations: 75.89 kB / 429.6 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.944e-05/0.3233, allocations: 21.08 kB / 429.6 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.3234, allocations: 15.98 kB / 429.6 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000992/0.3244, allocations: 1.256 MB / 430.9 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.3244, allocations: 7.875 kB / 430.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.3254, allocations: 0.6406 MB / 431.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002602/0.3256, allocations: 115.4 kB / 431.6 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.137e-05/0.3257, allocations: 12 kB / 431.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003546/0.3261, allocations: 23.92 kB / 431.7 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.773e-05/0.3262, allocations: 35.94 kB / 431.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.3262, allocations: 8 kB / 431.7 MB, free: 14.72 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007784/0.327, allocations: 0.5576 MB / 432.3 MB, free: 14.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.327, allocations: 4 kB / 432.3 MB, free: 14.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007705/0.3277, allocations: 192 kB / 432.5 MB, free: 13.97 MB / 350.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.001458/0.3292, allocations: 1.2 MB / 433.7 MB, free: 12.72 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009899/0.3302, allocations: 499.3 kB / 434.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3302, allocations: 0 / 434.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004185/0.3306, allocations: 260.1 kB / 434.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.3316, allocations: 211.4 kB / 434.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01074/0.3424, allocations: 7.123 MB / 441.7 MB, free: 4.168 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000485/0.3429, allocations: 408.9 kB / 442.1 MB, free: 3.738 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003936/0.3433, allocations: 102.9 kB / 442.2 MB, free: 3.633 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004935/0.3438, allocations: 367.3 kB / 442.6 MB, free: 3.273 MB / 350.1 MB Notification: Performance of SimCode: time 1.704e-06/0.3438, allocations: 8 kB / 442.6 MB, free: 3.266 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05896/0.4027, allocations: 19.53 MB / 462.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.28, allocations: 19.83 kB / 462.1 MB, free: 15.64 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.086371911223978]