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.001002/0.001002, allocations: 183.8 kB / 18.04 MB, free: 3.633 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.593/1.593, allocations: 205.4 MB / 224.2 MB, free: 9.027 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.0009668/0.000967, allocations: 79.06 kB / 272.5 MB, free: 8.27 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004685/0.0004687, allocations: 8 kB / 329.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2597, allocations: 47.57 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09623/0.356, allocations: 83.53 MB / 460.5 MB, free: 13.03 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/0.3563, allocations: 71.97 kB / 460.6 MB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04592/0.4022, allocations: 18.61 MB / 479.2 MB, free: 10.04 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4023, allocations: 0 / 479.2 MB, free: 10.04 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.995e-05/0.4023, allocations: 31.98 kB / 479.3 MB, free: 10.01 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.001716/0.404, allocations: 1.224 MB / 480.5 MB, free: 8.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.4041, allocations: 8.031 kB / 480.5 MB, free: 8.723 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001781/0.4043, allocations: 143.2 kB / 480.6 MB, free: 8.582 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000886/0.4052, allocations: 0.665 MB / 481.3 MB, free: 7.871 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.156e-05/0.4052, allocations: 86.78 kB / 481.4 MB, free: 7.785 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/0.4054, allocations: 116.4 kB / 481.5 MB, free: 7.672 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00179/0.4072, allocations: 1.265 MB / 482.8 MB, free: 6.234 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.91e-05/0.4072, allocations: 11.88 kB / 482.8 MB, free: 6.223 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-05/0.4073, allocations: 55.94 kB / 482.8 MB, free: 6.168 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.392e-05/0.4074, allocations: 35.98 kB / 482.9 MB, free: 6.133 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/0.4086, allocations: 0.689 MB / 483.5 MB, free: 5.445 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005989/0.4146, allocations: 6.855 MB / 490.4 MB, free: 14.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007447/0.4154, allocations: 265.2 kB / 490.7 MB, free: 13.98 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003846/0.4158, allocations: 181.7 kB / 490.8 MB, free: 13.79 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002103/0.416, allocations: 89.08 kB / 490.9 MB, free: 13.69 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.007e-05/0.4161, allocations: 38.56 kB / 491 MB, free: 13.64 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 4.138e-06/0.4161, allocations: 0 / 491 MB, free: 13.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.002565/0.4187, allocations: 1.41 MB / 492.4 MB, free: 12.12 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.053e-05/0.4187, allocations: 85.05 kB / 492.5 MB, free: 12.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006972/0.4194, allocations: 0.6491 MB / 493.1 MB, free: 11.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.4195, allocations: 33.7 kB / 493.1 MB, free: 11.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000385/0.4199, allocations: 0.6797 MB / 493.8 MB, free: 10.63 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.384e-05/0.42, allocations: 118.5 kB / 493.9 MB, free: 10.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.359e-05/0.42, allocations: 16 kB / 494 MB, free: 10.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.4202, allocations: 386.7 kB / 494.3 MB, free: 10.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000277/0.4205, allocations: 145.9 kB / 494.5 MB, free: 9.969 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005686/0.421, allocations: 0.5624 MB / 495 MB, free: 9.211 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: inverseCapacitor1.capacitor.v = $START.inverseCapacitor1.capacitor.v ($START.directCapacitor1.currentToVoltage.y = $START.inverseCapacitor1.capacitor.v) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: inverseInductor3.inductor.i = $START.inverseInductor3.inductor.i ($START.directInductor3.currentToVoltage.y = $START.inverseInductor3.inductor.i) Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.4221, allocations: 0.9605 MB / 496 MB, free: 8.016 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.4221, allocations: 4 kB / 496 MB, free: 8.012 MB / 378.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001191/0.4233, allocations: 0.7961 MB / 496.8 MB, free: 7.207 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.4233, allocations: 12 kB / 496.8 MB, free: 7.195 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/0.4234, allocations: 12 kB / 496.8 MB, free: 7.184 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002665/0.4236, allocations: 81.62 kB / 496.9 MB, free: 7.098 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005512/0.4242, allocations: 187.7 kB / 497.1 MB, free: 6.914 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/0.4264, allocations: 2.97 MB / 0.4883 GB, free: 3.676 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003726/0.4268, allocations: 32 kB / 0.4884 GB, free: 3.645 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.963e-05/0.4269, allocations: 44 kB / 0.4884 GB, free: 3.602 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: inverseCapacitor1.capacitor.v = $START.inverseCapacitor1.capacitor.v inverseInductor3.inductor.i = $START.inverseInductor3.inductor.i. 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.0004679/0.4273, allocations: 281.4 kB / 0.4887 GB, free: 3.316 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.4274, allocations: 75.06 kB / 0.4887 GB, free: 3.242 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001099/0.4276, allocations: 70.41 kB / 0.4888 GB, free: 3.172 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.4276, allocations: 4 kB / 0.4888 GB, free: 3.168 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.4276, allocations: 3.938 kB / 0.4888 GB, free: 3.164 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.4276, allocations: 4 kB / 0.4888 GB, free: 3.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001773/0.4294, allocations: 1.255 MB / 0.49 GB, free: 1.832 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.4294, allocations: 0 / 0.49 GB, free: 1.832 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003056/0.4297, allocations: 60.06 kB / 0.4901 GB, free: 1.773 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000147/0.4299, allocations: 61.59 kB / 0.4902 GB, free: 1.707 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/0.4299, allocations: 12 kB / 0.4902 GB, free: 1.695 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1875/0.6174, allocations: 2.751 MB / 0.4929 GB, free: 100.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.6175, allocations: 3.125 kB / 0.4929 GB, free: 100.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001352/0.6188, allocations: 0.6472 MB / 0.4935 GB, free: 100.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001379/0.619, allocations: 134.7 kB / 0.4936 GB, free: 100.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.683e-05/0.619, allocations: 10.47 kB / 0.4936 GB, free: 100.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002745/0.6193, allocations: 22.94 kB / 0.4937 GB, free: 100.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.392e-05/0.6194, allocations: 26.52 kB / 0.4937 GB, free: 100.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-05/0.6195, allocations: 7.156 kB / 0.4937 GB, free: 100.4 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000656/0.6201, allocations: 438.8 kB / 0.4941 GB, free: 100.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.71e-07/0.6201, allocations: 0 / 0.4941 GB, free: 100.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001034/0.6212, allocations: 156.3 kB / 0.4943 GB, free: 100.3 MB / 378.7 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 (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.0001538/0.6213, allocations: 111.8 kB / 0.4944 GB, free: 100.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00101/0.6223, allocations: 0.6564 MB / 0.495 GB, free: 100 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.6224, allocations: 1.406 kB / 0.495 GB, free: 100 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004219/0.6228, allocations: 368.5 kB / 0.4954 GB, free: 99.78 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006237/0.6234, allocations: 78.06 kB / 0.4954 GB, free: 99.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002984/0.6264, allocations: 2.309 MB / 0.4977 GB, free: 98.47 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005074/0.6269, allocations: 1.036 MB / 0.4987 GB, free: 97.75 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003179/0.6273, allocations: 88.83 kB / 0.4988 GB, free: 97.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.808e-05/0.6274, allocations: 56.94 kB / 0.4988 GB, free: 97.73 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.6274, allocations: 0 / 0.4988 GB, free: 97.73 MB / 378.7 MB Notification: Performance of Templates: time 0.01116/0.6385, allocations: 5.052 MB / 0.5038 GB, free: 97.45 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/jenkins1/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