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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|capacitor2a.v|capacitor2b.v|directCapacitor1.capacitor.v|directInductor3.inductor.i|inductor4a.i|inductor4b.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") translateModel(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|capacitor2a.v|capacitor2b.v|directCapacitor1.capacitor.v|directInductor3.inductor.i|inductor4a.i|inductor4b.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0012/0.001199, allocations: 181 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.61/1.61, allocations: 205.4 MB / 223.1 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001008/0.001009, allocations: 86.61 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003278/0.000328, allocations: 4 kB / 328.2 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4167/0.417, allocations: 47.57 MB / 375.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1397/0.5569, allocations: 83.44 MB / 459.2 MB, free: 13.22 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003347/0.5573, allocations: 71.95 kB / 459.3 MB, free: 13.15 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05189/0.6092, allocations: 18.6 MB / 477.9 MB, free: 10.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.499e-06/0.6093, allocations: 0 / 477.9 MB, free: 10.25 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.335e-05/0.6094, allocations: 35.98 kB / 477.9 MB, free: 10.21 MB / 362.7 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.002842/0.6122, allocations: 1.228 MB / 479.2 MB, free: 8.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.467e-05/0.6123, allocations: 8.031 kB / 479.2 MB, free: 8.922 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003145/0.6126, allocations: 150.2 kB / 479.3 MB, free: 8.773 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001256/0.6139, allocations: 0.6253 MB / 480 MB, free: 8.105 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001092/0.614, allocations: 90.41 kB / 480 MB, free: 8.016 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001882/0.6142, allocations: 123.9 kB / 480.2 MB, free: 7.895 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002431/0.6166, allocations: 1.26 MB / 481.4 MB, free: 6.465 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.658e-05/0.6167, allocations: 3.938 kB / 481.4 MB, free: 6.461 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/0.6168, allocations: 55.94 kB / 481.5 MB, free: 6.406 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-05/0.6169, allocations: 32 kB / 481.5 MB, free: 6.375 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001528/0.6184, allocations: 0.6967 MB / 482.2 MB, free: 5.676 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008712/0.6272, allocations: 6.84 MB / 489.1 MB, free: 14.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008972/0.6282, allocations: 273.3 kB / 489.3 MB, free: 14.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002993/0.6285, allocations: 85.11 kB / 489.4 MB, free: 14.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.989e-05/0.6285, allocations: 42.5 kB / 489.4 MB, free: 14.06 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 6.221e-06/0.6285, allocations: 0 / 489.4 MB, free: 14.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.002939/0.6315, allocations: 1.401 MB / 490.8 MB, free: 12.55 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.767e-05/0.6316, allocations: 89.06 kB / 490.9 MB, free: 12.45 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007147/0.6323, allocations: 0.5701 MB / 491.5 MB, free: 11.86 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.479e-05/0.6323, allocations: 33.7 kB / 491.5 MB, free: 11.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005173/0.6329, allocations: 0.6798 MB / 492.2 MB, free: 11.13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.917e-05/0.633, allocations: 114.4 kB / 492.3 MB, free: 11.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.601e-05/0.633, allocations: 16 kB / 492.3 MB, free: 11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002027/0.6332, allocations: 382.8 kB / 492.7 MB, free: 10.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002847/0.6335, allocations: 149.9 kB / 492.9 MB, free: 10.47 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005476/0.6341, allocations: 0.5546 MB / 493.4 MB, free: 9.723 MB / 378.7 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.000687/0.6348, allocations: 438 kB / 493.8 MB, free: 9.258 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.301e-06/0.6348, allocations: 4 kB / 493.8 MB, free: 9.254 MB / 378.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001215/0.636, allocations: 0.7882 MB / 494.6 MB, free: 8.453 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.6361, allocations: 15.94 kB / 494.6 MB, free: 8.438 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/0.6361, allocations: 12 kB / 494.7 MB, free: 8.426 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002567/0.6364, allocations: 86.31 kB / 494.7 MB, free: 8.336 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005302/0.6369, allocations: 183.7 kB / 494.9 MB, free: 8.156 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002424/0.6393, allocations: 2.993 MB / 497.9 MB, free: 4.895 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004497/0.6398, allocations: 44.05 kB / 498 MB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.613e-05/0.6399, allocations: 40 kB / 498 MB, free: 4.812 MB / 378.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005681/0.6404, allocations: 269.6 kB / 498.3 MB, free: 4.539 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.6406, allocations: 79 kB / 498.3 MB, free: 4.461 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001168/0.6407, allocations: 70.42 kB / 498.4 MB, free: 4.387 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.6407, allocations: 0 / 498.4 MB, free: 4.387 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.508e-05/0.6407, allocations: 8.125 kB / 498.4 MB, free: 4.379 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.6407, allocations: 7.984 kB / 498.4 MB, free: 4.371 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001918/0.6427, allocations: 1.243 MB / 499.7 MB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.6427, allocations: 3.938 kB / 499.7 MB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003302/0.643, allocations: 63.95 kB / 499.7 MB, free: 2.992 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001703/0.6432, allocations: 61.56 kB / 499.8 MB, free: 2.926 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.6432, allocations: 8 kB / 499.8 MB, free: 2.918 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2728/0.916, allocations: 2.772 MB / 0.4908 GB, free: 101.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.704e-06/0.9161, allocations: 3.062 kB / 0.4908 GB, free: 101.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001961/0.9181, allocations: 0.6788 MB / 0.4915 GB, free: 100.9 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002776/0.9184, allocations: 140 kB / 0.4916 GB, free: 100.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.891e-05/0.9185, allocations: 7.656 kB / 0.4916 GB, free: 100.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003515/0.9188, allocations: 20.41 kB / 0.4916 GB, free: 100.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/0.919, allocations: 23.53 kB / 0.4916 GB, free: 100.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.112e-05/0.9191, allocations: 9.875 kB / 0.4917 GB, free: 100.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001047/0.9201, allocations: 434.5 kB / 0.4921 GB, free: 100.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.9201, allocations: 0 / 0.4921 GB, free: 100.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001437/0.9216, allocations: 162.4 kB / 0.4922 GB, free: 100.7 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002633/0.9218, allocations: 113.7 kB / 0.4923 GB, free: 100.6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001534/0.9234, allocations: 0.659 MB / 0.493 GB, free: 100.4 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.9234, allocations: 0 / 0.493 GB, free: 100.4 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005467/0.924, allocations: 365.6 kB / 0.4933 GB, free: 100.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004863/0.9245, allocations: 76.86 kB / 0.4934 GB, free: 100.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004099/0.9286, allocations: 2.308 MB / 0.4956 GB, free: 98.89 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007757/0.9294, allocations: 1.057 MB / 0.4967 GB, free: 98.17 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000366/0.9297, allocations: 83.91 kB / 0.4968 GB, free: 98.15 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.9299, allocations: 55.69 kB / 0.4968 GB, free: 98.14 MB / 378.7 MB Notification: Performance of SimCode: time 1.433e-06/0.9299, allocations: 0 / 0.4968 GB, free: 98.14 MB / 378.7 MB Notification: Performance of Templates: time 0.01348/0.9434, allocations: 5.016 MB / 0.5017 GB, free: 97.86 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile (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 & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches