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.006709/0.006709, allocations: 112.3 kB / 21.97 MB, free: 5.25 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.001649/0.001649, allocations: 205.1 kB / 25.27 MB, free: 3.238 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.375/1.375, allocations: 207.6 MB / 236 MB, free: 9.984 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_GenerationOfFMUs",fmuType="cs",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.001679/0.001679, allocations: 59.91 kB / 348 MB, free: 10 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2432, allocations: 49.16 MB / 397.2 MB, free: 8.949 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.00546/0.2487, allocations: 5.98 MB / 403.1 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00307/0.2518, allocations: 1.713 MB / 404.9 MB, free: 3.379 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006716/0.2524, allocations: 41.19 kB / 404.9 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004956/0.2529, allocations: 249.7 kB / 405.1 MB, free: 3.195 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004608/0.2534, allocations: 221.5 kB / 405.4 MB, free: 3.023 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008845/0.2543, allocations: 0.5032 MB / 405.9 MB, free: 2.719 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001181/0.2555, allocations: 1.39 MB / 407.2 MB, free: 1.996 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006311/0.2561, allocations: 459.8 kB / 407.7 MB, free: 1.715 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005803/0.2567, allocations: 491.6 kB / 408.2 MB, free: 1.461 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000455/0.2571, allocations: 0.4883 MB / 408.7 MB, free: 1.168 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001349/0.2573, allocations: 122.9 kB / 408.8 MB, free: 1.168 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002056/0.2575, allocations: 135 kB / 408.9 MB, free: 1.164 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001508/0.2576, allocations: 274.2 kB / 409.2 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003586/0.258, allocations: 0.6066 MB / 409.8 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001682/0.2597, allocations: 1.63 MB / 411.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.2597, allocations: 0 / 411.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2597, allocations: 0 / 411.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.684e-05/0.2597, allocations: 1.25 kB / 411.4 MB, free: 15.84 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: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.002354/0.2621, allocations: 1.427 MB / 412.8 MB, free: 14.76 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.2621, allocations: 16.98 kB / 412.9 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.229e-05/0.2621, allocations: 35.88 kB / 412.9 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001882/0.2623, allocations: 176.5 kB / 413.1 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002579/0.2626, allocations: 148.8 kB / 413.2 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/0.2639, allocations: 0.6793 MB / 413.9 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.703e-05/0.2639, allocations: 90.72 kB / 414 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001515/0.2641, allocations: 118.6 kB / 414.1 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001993/0.2661, allocations: 1.267 MB / 415.4 MB, free: 12.9 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.51e-05/0.2661, allocations: 8.125 kB / 415.4 MB, free: 12.9 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-05/0.2662, allocations: 49.53 kB / 415.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.465e-05/0.2662, allocations: 31.94 kB / 415.5 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/0.2676, allocations: 0.6937 MB / 416.1 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006562/0.2741, allocations: 6.671 MB / 422.8 MB, free: 6.312 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007477/0.2749, allocations: 250.6 kB / 423.1 MB, free: 6.164 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003586/0.2753, allocations: 165.2 kB / 423.2 MB, free: 6.074 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.895e-05/0.2754, allocations: 14.73 kB / 423.2 MB, free: 6.066 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.2754, allocations: 33.5 kB / 423.3 MB, free: 6.027 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 2.144e-06/0.2754, allocations: 0 / 423.3 MB, free: 6.027 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.002494/0.2779, allocations: 1.279 MB / 424.6 MB, free: 5.086 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/0.2779, allocations: 84.11 kB / 424.6 MB, free: 4.988 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008056/0.2787, allocations: 0.6625 MB / 425.3 MB, free: 4.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.672e-05/0.2788, allocations: 36.05 kB / 425.3 MB, free: 4.551 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004999/0.2793, allocations: 0.703 MB / 426 MB, free: 3.918 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.565e-05/0.2794, allocations: 119.2 kB / 426.2 MB, free: 3.816 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002029/0.2796, allocations: 146.5 kB / 426.3 MB, free: 3.719 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001902/0.2798, allocations: 383.3 kB / 426.7 MB, free: 3.352 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002809/0.28, allocations: 148.8 kB / 426.8 MB, free: 3.285 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005848/0.2806, allocations: 0.5453 MB / 427.4 MB, free: 2.652 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.001142/0.2818, allocations: 0.8014 MB / 428.2 MB, free: 1.867 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.2818, allocations: 4.938 kB / 428.2 MB, free: 1.867 MB / 334.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001247/0.283, allocations: 0.796 MB / 429 MB, free: 1.438 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.2831, allocations: 14.92 kB / 429 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/0.2831, allocations: 15.22 kB / 429 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002292/0.2833, allocations: 77.81 kB / 429.1 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005164/0.2838, allocations: 187.4 kB / 429.2 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002634/0.2864, allocations: 3.117 MB / 432.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004008/0.2868, allocations: 34.17 kB / 432.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.834e-05/0.2869, allocations: 43 kB / 432.4 MB, free: 14.25 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.0004166/0.2873, allocations: 269.6 kB / 432.7 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.2874, allocations: 74.94 kB / 432.8 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.2876, allocations: 75 kB / 432.9 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.2876, allocations: 3.281 kB / 432.9 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.2876, allocations: 2.156 kB / 432.9 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.2876, allocations: 5 kB / 432.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001848/0.2894, allocations: 1.226 MB / 434.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2894, allocations: 0 / 434.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003153/0.2897, allocations: 67.89 kB / 434.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001525/0.2899, allocations: 53.69 kB / 434.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.411e-05/0.2899, allocations: 12.11 kB / 434.2 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002244/0.2922, allocations: 2.862 MB / 437.1 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.2922, allocations: 3.938 kB / 437.1 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008932/0.2931, allocations: 0.6355 MB / 437.7 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.2932, allocations: 71.53 kB / 437.8 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.129e-05/0.2932, allocations: 4 kB / 437.8 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002551/0.2935, allocations: 19.98 kB / 437.8 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.829e-05/0.2935, allocations: 27.89 kB / 437.8 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.2936, allocations: 8 kB / 437.8 MB, free: 8.828 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005224/0.2941, allocations: 439 kB / 438.3 MB, free: 8.402 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2941, allocations: 0 / 438.3 MB, free: 8.402 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00089/0.295, allocations: 155.9 kB / 438.4 MB, free: 8.25 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.001224/0.2962, allocations: 1.188 MB / 439.6 MB, free: 7.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001093/0.2973, allocations: 0.6288 MB / 440.2 MB, free: 6.367 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2973, allocations: 0 / 440.2 MB, free: 6.367 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004892/0.2978, allocations: 358 kB / 440.6 MB, free: 5.992 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005337/0.2983, allocations: 87.75 kB / 440.7 MB, free: 5.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009266/0.3076, allocations: 6.44 MB / 447.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007549/0.3083, allocations: 1.034 MB / 448.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002715/0.3086, allocations: 82.03 kB / 448.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005143/0.3091, allocations: 423.3 kB / 448.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of SimCode: time 1.152e-06/0.3091, allocations: 0 / 448.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04485/0.354, allocations: 13.32 MB / 462 MB, free: 8 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.15, allocations: 17.03 kB / 462 MB, free: 15.99 MB / 382.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_GenerationOfFMUs_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.528429648955353]