Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.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.001906/0.001906, 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.001545/0.001545, allocations: 214.7 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.415/1.415, 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.Analog.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_GenerationOfFMUs",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.002059/0.002059, allocations: 51.92 kB / 347.2 MB, free: 9.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2644, allocations: 49.15 MB / 396.4 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.006516/0.2709, allocations: 5.224 MB / 401.6 MB, free: 5.363 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00357/0.2745, allocations: 1.665 MB / 403.2 MB, free: 4.148 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009456/0.2754, allocations: 40.53 kB / 403.3 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006436/0.2761, allocations: 248.8 kB / 403.5 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007078/0.2768, allocations: 223.2 kB / 403.7 MB, free: 3.793 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001207/0.278, allocations: 0.4994 MB / 404.2 MB, free: 3.496 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00156/0.2796, allocations: 1.385 MB / 405.6 MB, free: 2.777 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006657/0.2802, allocations: 426.6 kB / 406 MB, free: 2.531 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006546/0.2809, allocations: 489.6 kB / 406.5 MB, free: 2.281 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005381/0.2814, allocations: 430.9 kB / 406.9 MB, free: 2.055 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001787/0.2816, allocations: 126.9 kB / 407.1 MB, free: 2.051 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002509/0.2819, allocations: 138.6 kB / 407.2 MB, free: 2.043 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001753/0.282, allocations: 266.5 kB / 407.5 MB, free: 1.852 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000413/0.2824, allocations: 489.6 kB / 407.9 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001789/0.2842, allocations: 1.642 MB / 409.6 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.2842, allocations: 0 / 409.6 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.61e-07/0.2842, allocations: 1.375 kB / 409.6 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.167e-05/0.2843, allocations: 0 / 409.6 MB, free: 0.8359 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.002355/0.2866, allocations: 1.419 MB / 411 MB, free: 15.76 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.2867, allocations: 14.23 kB / 411 MB, free: 15.76 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002029/0.2869, allocations: 180.1 kB / 411.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002184/0.2871, allocations: 148.9 kB / 411.3 MB, free: 15.53 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.2884, allocations: 0.6761 MB / 412 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.925e-05/0.2885, allocations: 90.22 kB / 412.1 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001536/0.2886, allocations: 118.3 kB / 412.2 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002061/0.2907, allocations: 1.319 MB / 413.5 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.945e-05/0.2907, allocations: 6.438 kB / 413.5 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.282e-05/0.2908, allocations: 58.94 kB / 413.6 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.855e-05/0.2909, allocations: 32.16 kB / 413.6 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/0.2921, allocations: 0.6801 MB / 414.3 MB, free: 13.49 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00634/0.2984, allocations: 6.424 MB / 420.7 MB, free: 7.52 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007303/0.2992, allocations: 253.5 kB / 421 MB, free: 7.371 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003737/0.2995, allocations: 165.4 kB / 421.1 MB, free: 7.281 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001045/0.2996, allocations: 6.688 kB / 421.2 MB, free: 7.281 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.2997, allocations: 37.31 kB / 421.2 MB, free: 7.238 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 2.375e-06/0.2997, allocations: 0 / 421.2 MB, free: 7.238 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.002593/0.3023, allocations: 1.281 MB / 422.5 MB, free: 6.297 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/0.3023, allocations: 84.7 kB / 422.6 MB, free: 6.199 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008188/0.3032, allocations: 0.6856 MB / 423.2 MB, free: 5.781 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.064e-05/0.3032, allocations: 31.86 kB / 423.3 MB, free: 5.746 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004846/0.3037, allocations: 0.7077 MB / 424 MB, free: 5.109 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.52e-05/0.3038, allocations: 114.5 kB / 424.1 MB, free: 5.012 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001732/0.3039, allocations: 143.1 kB / 424.2 MB, free: 4.918 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.3041, allocations: 387.2 kB / 424.6 MB, free: 4.547 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002636/0.3044, allocations: 144.3 kB / 424.8 MB, free: 4.484 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005819/0.305, allocations: 0.5505 MB / 425.3 MB, free: 3.855 MB / 334.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directCapacitor1.currentToVoltage.y = $START.directCapacitor1.currentToVoltage.y ($START.inverseCapacitor1.capacitor.v = $START.directCapacitor1.currentToVoltage.y) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directInductor3.currentToVoltage.y = $START.directInductor3.currentToVoltage.y ($START.inverseInductor3.inductor.i = $START.directInductor3.currentToVoltage.y) Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/0.3061, allocations: 0.8097 MB / 426.1 MB, free: 3.074 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.3061, allocations: 4.031 kB / 426.1 MB, free: 3.074 MB / 334.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001315/0.3074, allocations: 0.7943 MB / 426.9 MB, free: 2.648 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.3074, allocations: 10.62 kB / 426.9 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/0.3075, allocations: 14.5 kB / 426.9 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002434/0.3077, allocations: 82.86 kB / 427 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005162/0.3082, allocations: 182.2 kB / 427.2 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002646/0.3109, allocations: 3.102 MB / 430.3 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004545/0.3113, allocations: 34.02 kB / 430.3 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-05/0.3114, allocations: 47.88 kB / 430.4 MB, free: 15.48 MB / 350.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: directCapacitor1.currentToVoltage.y = $START.directCapacitor1.currentToVoltage.y directInductor3.currentToVoltage.y = $START.directInductor3.currentToVoltage.y. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (91): * Single equations (assignments): 89 * 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,4,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004468/0.3118, allocations: 273.4 kB / 430.6 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.312, allocations: 78.58 kB / 430.7 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001211/0.3121, allocations: 71.08 kB / 430.8 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.3121, allocations: 8.125 kB / 430.8 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.3121, allocations: 1.094 kB / 430.8 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.3121, allocations: 5.297 kB / 430.8 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001895/0.314, allocations: 1.193 MB / 432 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.314, allocations: 4 kB / 432 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002998/0.3143, allocations: 59.95 kB / 432.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001768/0.3145, allocations: 61.62 kB / 432.1 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.164e-05/0.3145, allocations: 4 kB / 432.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002415/0.3169, allocations: 2.842 MB / 435 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3169, allocations: 0 / 435 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.3179, allocations: 0.6394 MB / 435.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001556/0.3181, allocations: 63.47 kB / 435.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.483e-05/0.3181, allocations: 12.06 kB / 435.7 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002516/0.3184, allocations: 8 kB / 435.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.324e-05/0.3185, allocations: 31.89 kB / 435.7 MB, free: 9.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.3185, allocations: 15.92 kB / 435.7 MB, free: 9.973 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005672/0.3191, allocations: 431 kB / 436.2 MB, free: 9.555 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3191, allocations: 0 / 436.2 MB, free: 9.555 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009799/0.32, allocations: 160 kB / 436.3 MB, free: 9.398 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (inverseInductor3.inductor.i,inductor4a.i,inductor4b.i,directCapacitor1.currentToVoltage.y,capacitor2a.v,capacitor2b.v) * 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 (24): * Single equations (assignments): 22 * 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,3,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001231/0.3213, allocations: 1.189 MB / 437.5 MB, free: 8.168 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001226/0.3225, allocations: 0.6287 MB / 438.1 MB, free: 7.516 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3225, allocations: 0 / 438.1 MB, free: 7.516 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005174/0.323, allocations: 353.2 kB / 438.5 MB, free: 7.145 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006021/0.3236, allocations: 92.34 kB / 438.6 MB, free: 7.059 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009091/0.3327, allocations: 6.422 MB / 445 MB, free: 124 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005194/0.3332, allocations: 458.8 kB / 445.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002718/0.3335, allocations: 90 kB / 445.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004667/0.334, allocations: 423.3 kB / 445.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of SimCode: time 1.102e-06/0.334, allocations: 0 / 445.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06492/0.3989, allocations: 13.46 MB / 459.4 MB, free: 1.594 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.59, allocations: 15.72 kB / 459.4 MB, free: 1.578 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_GenerationOfFMUs.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable directCapacitor1.capacitor.v in file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.csv. Warning: Get data of variable directCapacitor1.capacitor.v from file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.csv failed! Error: Could not read variable directInductor3.inductor.i in file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.csv. Warning: Get data of variable directInductor3.inductor.i from file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.097018640022725]