Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001384/0.001384, allocations: 119.4 kB / 17.79 MB, free: 5.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001481/0.001481, allocations: 215.5 kB / 20.75 MB, free: 2.328 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.518/1.518, allocations: 230.5 MB / 254 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Adder,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Adder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Adder,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Adder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002124/0.002124, allocations: 59.91 kB / 373 MB, free: 10.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1185, allocations: 53.38 MB / 426.4 MB, free: 4.562 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004693/0.1232, allocations: 3.232 MB / 429.6 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.1247, allocations: 0.8063 MB / 430.4 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.1249, allocations: 7.938 kB / 430.4 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001782/0.125, allocations: 51.44 kB / 430.5 MB, free: 456 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002229/0.1253, allocations: 123 kB / 430.6 MB, free: 332 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.1256, allocations: 123.8 kB / 430.7 MB, free: 208 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2367/0.3623, allocations: 434.6 kB / 431.2 MB, free: 7.691 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003382/0.3626, allocations: 112.8 kB / 431.3 MB, free: 7.676 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003924/0.363, allocations: 178 kB / 431.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002419/0.3633, allocations: 183.2 kB / 431.6 MB, free: 7.629 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.833e-05/0.3634, allocations: 43.56 kB / 431.7 MB, free: 7.629 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.3635, allocations: 45.81 kB / 431.7 MB, free: 7.629 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.337e-05/0.3635, allocations: 97.06 kB / 431.8 MB, free: 7.613 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000163/0.3637, allocations: 198.4 kB / 432 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005339/0.3642, allocations: 0.5153 MB / 432.5 MB, free: 7.484 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.289e-06/0.3642, allocations: 2.219 kB / 432.5 MB, free: 7.484 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3642, allocations: 0 / 432.5 MB, free: 7.484 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.3642, allocations: 0 / 432.5 MB, free: 7.484 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0008776/0.3651, allocations: 0.6654 MB / 433.2 MB, free: 7.008 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.3652, allocations: 9.469 kB / 433.2 MB, free: 7.008 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.422e-05/0.3652, allocations: 71.66 kB / 433.3 MB, free: 6.969 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001806/0.3654, allocations: 53.91 kB / 433.3 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000341/0.3657, allocations: 320.2 kB / 433.6 MB, free: 6.715 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.3658, allocations: 26.34 kB / 433.6 MB, free: 6.715 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.443e-05/0.3658, allocations: 30.72 kB / 433.7 MB, free: 6.715 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005081/0.3663, allocations: 303.7 kB / 434 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.3663, allocations: 0 / 434 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.629e-05/0.3664, allocations: 14.81 kB / 434 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.3664, allocations: 9.031 kB / 434 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004318/0.3668, allocations: 248.7 kB / 434.2 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001732/0.3685, allocations: 1.208 MB / 435.5 MB, free: 6.172 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003962/0.3689, allocations: 261.4 kB / 435.7 MB, free: 6.051 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.3691, allocations: 76.23 kB / 435.8 MB, free: 6.043 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.3691, allocations: 2.125 kB / 435.8 MB, free: 6.043 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.775e-05/0.3691, allocations: 38.3 kB / 435.8 MB, free: 6.004 MB / 350.1 MB Notification: Performance of pre-optimization done (n=18): time 1.263e-06/0.3691, allocations: 0 / 435.8 MB, free: 6.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.001417/0.3705, allocations: 497.5 kB / 436.3 MB, free: 5.844 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.308e-05/0.3706, allocations: 54.16 kB / 436.4 MB, free: 5.781 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003148/0.3709, allocations: 304.5 kB / 436.7 MB, free: 5.672 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.3709, allocations: 31.02 kB / 436.7 MB, free: 5.641 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.371, allocations: 223.6 kB / 436.9 MB, free: 5.492 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.281e-05/0.3711, allocations: 67.52 kB / 437 MB, free: 5.453 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.551e-05/0.3711, allocations: 49 kB / 437 MB, free: 5.438 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.218e-05/0.3712, allocations: 338.4 kB / 437.3 MB, free: 5.125 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.3713, allocations: 60.56 kB / 437.4 MB, free: 5.125 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002058/0.3715, allocations: 154.1 kB / 437.6 MB, free: 5.023 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002843/0.3718, allocations: 219.1 kB / 437.8 MB, free: 4.871 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3718, allocations: 1.031 kB / 437.8 MB, free: 4.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006741/0.3725, allocations: 348 kB / 438.1 MB, free: 4.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.3725, allocations: 6.375 kB / 438.1 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.3725, allocations: 3.688 kB / 438.1 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005965/0.3731, allocations: 102.5 kB / 438.2 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.3733, allocations: 41.38 kB / 438.3 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002717/0.376, allocations: 2.17 MB / 440.4 MB, free: 2.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002412/0.3763, allocations: 28.39 kB / 440.5 MB, free: 2.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.3763, allocations: 12.42 kB / 440.5 MB, free: 2.855 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 (add.opAmp.satNeg,add.opAmp.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002123/0.3765, allocations: 160.9 kB / 440.6 MB, free: 2.711 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.399e-05/0.3766, allocations: 32.91 kB / 440.7 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.581e-05/0.3766, allocations: 29.45 kB / 440.7 MB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.3766, allocations: 2.734 kB / 440.7 MB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.3766, allocations: 0 / 440.7 MB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.3766, allocations: 3.281 kB / 440.7 MB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/0.3777, allocations: 0.6832 MB / 441.4 MB, free: 2.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.3778, allocations: 1.75 kB / 441.4 MB, free: 2.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.827e-05/0.3778, allocations: 13.41 kB / 441.4 MB, free: 2.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004138/0.3782, allocations: 100.1 kB / 441.5 MB, free: 2.184 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.3783, allocations: 1.859 kB / 441.5 MB, free: 2.184 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002194/0.3805, allocations: 2.163 MB / 443.7 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.3805, allocations: 0.6094 kB / 443.7 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005799/0.381, allocations: 360.7 kB / 444 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.94e-05/0.3811, allocations: 106.6 kB / 444.1 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.933e-05/0.3811, allocations: 5.672 kB / 444.1 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.3814, allocations: 20.14 kB / 444.1 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.969e-05/0.3814, allocations: 14.62 kB / 444.2 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.3814, allocations: 12.44 kB / 444.2 MB, free: 12 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003362/0.3818, allocations: 216.1 kB / 444.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3818, allocations: 0 / 444.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005528/0.3823, allocations: 102.5 kB / 444.5 MB, free: 15.88 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (add.opAmp.satPos,add.opAmp.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001115/0.3834, allocations: 0.8895 MB / 445.4 MB, free: 15.13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007143/0.3842, allocations: 320.6 kB / 445.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.3842, allocations: 1.219 kB / 445.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000343/0.3845, allocations: 232.4 kB / 445.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/0.3849, allocations: 47.83 kB / 446 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004601/0.3895, allocations: 2.983 MB / 448.9 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004936/0.39, allocations: 0.7736 MB / 449.7 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001282/0.3901, allocations: 25.12 kB / 449.7 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/0.3903, allocations: 104.7 kB / 449.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3903, allocations: 0 / 449.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05297/0.4433, allocations: 6.914 MB / 456.8 MB, free: 10.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.41, allocations: 4.812 kB / 456.8 MB, free: 10.5 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Adder.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable vOut.v in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.csv. Warning: Get data of variable vOut.v from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.06172575301025]