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.001285/0.001285, allocations: 104.7 kB / 21.96 MB, free: 5.219 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.001414/0.001414, allocations: 214 kB / 25.26 MB, free: 3.129 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.338/1.338, allocations: 207.7 MB / 236.1 MB, free: 9.793 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.001651/0.001651, allocations: 51.92 kB / 348 MB, free: 9.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2506, allocations: 49.16 MB / 397.1 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.005797/0.2564, allocations: 5.212 MB / 402.4 MB, free: 5.371 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003286/0.2597, allocations: 1.658 MB / 404 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005706/0.2603, allocations: 41.25 kB / 404.1 MB, free: 4.141 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005138/0.2608, allocations: 253.1 kB / 404.3 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004674/0.2612, allocations: 218.8 kB / 404.5 MB, free: 3.805 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.2623, allocations: 0.5041 MB / 405 MB, free: 3.504 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001654/0.264, allocations: 1.38 MB / 406.4 MB, free: 2.789 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007028/0.2647, allocations: 459.3 kB / 406.9 MB, free: 2.512 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007118/0.2654, allocations: 491.3 kB / 407.3 MB, free: 2.258 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005361/0.2659, allocations: 0.4929 MB / 407.8 MB, free: 1.961 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001868/0.2661, allocations: 126 kB / 407.9 MB, free: 1.957 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002499/0.2663, allocations: 135.4 kB / 408.1 MB, free: 1.953 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000206/0.2666, allocations: 270.7 kB / 408.3 MB, free: 1.758 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004268/0.267, allocations: 486.2 kB / 408.8 MB, free: 1.473 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001752/0.2687, allocations: 1.646 MB / 410.5 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2687, allocations: 3.938 kB / 410.5 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2687, allocations: 0 / 410.5 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.198e-05/0.2688, allocations: 0 / 410.5 MB, free: 0.7344 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.001916/0.2707, allocations: 1.42 MB / 411.9 MB, free: 15.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.265e-05/0.2707, allocations: 13.33 kB / 411.9 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.5e-05/0.2708, allocations: 35.69 kB / 411.9 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002291/0.271, allocations: 176.4 kB / 412.1 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002465/0.2713, allocations: 148.8 kB / 412.3 MB, free: 15.42 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/0.2726, allocations: 0.6833 MB / 412.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.721e-05/0.2727, allocations: 86.69 kB / 413 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001696/0.2728, allocations: 122.1 kB / 413.1 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002113/0.2749, allocations: 1.311 MB / 414.5 MB, free: 13.76 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.222e-05/0.275, allocations: 7.531 kB / 414.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.552e-05/0.2751, allocations: 57.56 kB / 414.5 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.313e-05/0.2751, allocations: 32.66 kB / 414.5 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/0.2764, allocations: 0.6865 MB / 415.2 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006376/0.2827, allocations: 6.427 MB / 421.7 MB, free: 7.406 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007003/0.2834, allocations: 248.8 kB / 421.9 MB, free: 7.262 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003433/0.2838, allocations: 153.7 kB / 422.1 MB, free: 7.184 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.566e-05/0.2839, allocations: 9.906 kB / 422.1 MB, free: 7.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.2839, allocations: 42.58 kB / 422.1 MB, free: 7.133 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 2.756e-06/0.2839, allocations: 0 / 422.1 MB, free: 7.133 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.002516/0.2864, allocations: 1.279 MB / 423.4 MB, free: 6.191 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.448e-05/0.2865, allocations: 84.48 kB / 423.5 MB, free: 6.094 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008452/0.2873, allocations: 0.663 MB / 424.1 MB, free: 5.695 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/0.2874, allocations: 30.86 kB / 424.2 MB, free: 5.66 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000514/0.2879, allocations: 0.7085 MB / 424.9 MB, free: 5.023 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.288, allocations: 119.1 kB / 425 MB, free: 4.922 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001811/0.2882, allocations: 145.8 kB / 425.1 MB, free: 4.824 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002054/0.2884, allocations: 391.5 kB / 425.5 MB, free: 4.449 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002676/0.2886, allocations: 140.3 kB / 425.6 MB, free: 4.391 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005829/0.2892, allocations: 0.5542 MB / 426.2 MB, free: 3.762 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.00109/0.2903, allocations: 0.8019 MB / 427 MB, free: 2.988 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.2903, allocations: 5.219 kB / 427 MB, free: 2.988 MB / 334.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001311/0.2916, allocations: 0.793 MB / 427.8 MB, free: 2.562 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.2917, allocations: 15.38 kB / 427.8 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/0.2917, allocations: 13.5 kB / 427.8 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002484/0.2919, allocations: 87.16 kB / 427.9 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005248/0.2924, allocations: 187.8 kB / 428.1 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002667/0.2951, allocations: 3.097 MB / 431.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004194/0.2955, allocations: 34.2 kB / 431.2 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.144e-05/0.2956, allocations: 48.16 kB / 431.3 MB, free: 15.39 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.0004745/0.2961, allocations: 273.4 kB / 431.5 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.2962, allocations: 74.03 kB / 431.6 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001228/0.2963, allocations: 67.86 kB / 431.7 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.2963, allocations: 8.203 kB / 431.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.2963, allocations: 1.406 kB / 431.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.716e-06/0.2963, allocations: 0 / 431.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001856/0.2982, allocations: 1.189 MB / 432.9 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.2982, allocations: 4 kB / 432.9 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003167/0.2985, allocations: 63.89 kB / 432.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00016/0.2987, allocations: 57.69 kB / 433 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/0.2987, allocations: 8.125 kB / 433 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00223/0.3009, allocations: 2.846 MB / 435.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3009, allocations: 0 / 435.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009196/0.3018, allocations: 0.6371 MB / 436.5 MB, free: 9.977 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.302, allocations: 71.47 kB / 436.6 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.59e-05/0.302, allocations: 8 kB / 436.6 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002659/0.3023, allocations: 19.98 kB / 436.6 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.148e-05/0.3024, allocations: 27.89 kB / 436.6 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.089e-05/0.3024, allocations: 8 kB / 436.6 MB, free: 9.844 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005914/0.303, allocations: 435 kB / 437.1 MB, free: 9.422 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.303, allocations: 0 / 437.1 MB, free: 9.422 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00113/0.3041, allocations: 156 kB / 437.2 MB, free: 9.27 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.001429/0.3055, allocations: 1.188 MB / 438.4 MB, free: 8.039 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001287/0.3068, allocations: 0.6364 MB / 439 MB, free: 7.379 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.3068, allocations: 0 / 439 MB, free: 7.379 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004999/0.3073, allocations: 353.2 kB / 439.4 MB, free: 7.008 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006288/0.308, allocations: 84.36 kB / 439.5 MB, free: 6.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009734/0.3177, allocations: 6.425 MB / 445.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005341/0.3182, allocations: 450.8 kB / 446.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00027/0.3185, allocations: 90.02 kB / 446.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005082/0.319, allocations: 423.3 kB / 446.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of SimCode: time 1.723e-06/0.319, allocations: 3.938 kB / 446.8 MB, free: 15 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04437/0.3634, allocations: 13.37 MB / 460.2 MB, free: 1.562 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.3, allocations: 19.75 kB / 460.2 MB, free: 1.543 MB / 366.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.671533644897863]