Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.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.0008103/0.0008103, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.00133/0.00133, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9098/0.9098, allocations: 177 MB / 204.1 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.DifferenceAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_DifferenceAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_DifferenceAmplifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 324.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.932e-05/2.102e-05, allocations: 3.266 kB / 324.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.004306/0.004327, allocations: 5.375 MB / 329.9 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002419/0.006746, allocations: 1.517 MB / 331.4 MB, free: 8.926 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004144/0.007161, allocations: 19.94 kB / 331.4 MB, free: 8.906 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002668/0.007428, allocations: 166.3 kB / 331.6 MB, free: 8.742 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00042/0.007848, allocations: 320.9 kB / 331.9 MB, free: 8.426 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006809/0.008529, allocations: 419.3 kB / 332.3 MB, free: 8.016 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001004/0.009533, allocations: 1.433 MB / 333.8 MB, free: 6.578 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003306/0.009863, allocations: 277.7 kB / 334 MB, free: 6.289 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000768/0.01063, allocations: 0.768 MB / 334.8 MB, free: 5.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003873/0.01102, allocations: 438.8 kB / 335.2 MB, free: 5.09 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.01113, allocations: 136 kB / 335.4 MB, free: 4.957 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002018/0.01133, allocations: 172 kB / 335.5 MB, free: 4.789 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000137/0.01147, allocations: 283 kB / 335.8 MB, free: 4.512 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002619/0.01173, allocations: 423.1 kB / 336.2 MB, free: 4.098 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009847/0.01272, allocations: 1.62 MB / 337.8 MB, free: 2.473 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.01272, allocations: 0 / 337.8 MB, free: 2.473 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.01272, allocations: 0 / 337.8 MB, free: 2.473 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.922e-05/0.01274, allocations: 0 / 337.8 MB, free: 2.473 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 0.00163/0.01437, allocations: 1.322 MB / 339.2 MB, free: 1.109 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.01441, allocations: 15.98 kB / 339.2 MB, free: 1.094 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001311/0.01454, allocations: 135.6 kB / 339.3 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002242/0.01476, allocations: 132.2 kB / 339.4 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005543/0.01532, allocations: 0.4931 MB / 339.9 MB, free: 312 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.346e-05/0.01535, allocations: 66.38 kB / 340 MB, free: 248 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.524e-05/0.01545, allocations: 96.36 kB / 340.1 MB, free: 152 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/0.0165, allocations: 1.102 MB / 341.2 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.01651, allocations: 192 / 341.2 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.691e-05/0.01657, allocations: 40.12 kB / 341.2 MB, free: 14.94 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.01658, allocations: 20 kB / 341.3 MB, free: 14.92 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.01767, allocations: 0.8511 MB / 342.1 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003455/0.02112, allocations: 2.891 MB / 345 MB, free: 11.06 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007687/0.02189, allocations: 0.6257 MB / 345.6 MB, free: 10.42 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004434/0.02233, allocations: 391.4 kB / 346 MB, free: 10.03 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.68e-05/0.02238, allocations: 12.64 kB / 346 MB, free: 10.02 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.02241, allocations: 39.22 kB / 346.1 MB, free: 9.969 MB / 314.7 MB Notification: Performance of pre-optimization done (n=69): time 2.304e-06/0.02241, allocations: 3.938 kB / 346.1 MB, free: 9.965 MB / 314.7 MB Notification: Performance of matching and sorting (n=73): time 0.002891/0.0253, allocations: 2.204 MB / 348.3 MB, free: 7.734 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.02534, allocations: 60.06 kB / 348.3 MB, free: 7.664 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004907/0.02583, allocations: 0.6173 MB / 348.9 MB, free: 7.035 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.267e-05/0.02587, allocations: 41.7 kB / 349 MB, free: 6.988 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002093/0.02608, allocations: 452.3 kB / 349.4 MB, free: 6.539 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/0.02621, allocations: 269.7 kB / 349.7 MB, free: 6.273 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/0.02637, allocations: 146.6 kB / 349.8 MB, free: 6.125 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.02648, allocations: 386.8 kB / 350.2 MB, free: 5.738 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004158/0.0269, allocations: 321.9 kB / 350.5 MB, free: 5.422 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004749/0.02737, allocations: 476.5 kB / 351 MB, free: 4.906 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008967/0.02827, allocations: 0.8047 MB / 351.8 MB, free: 4.055 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.02827, allocations: 0 / 351.8 MB, free: 4.055 MB / 314.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001362/0.02964, allocations: 1.111 MB / 352.9 MB, free: 2.934 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.02966, allocations: 11.94 kB / 352.9 MB, free: 2.922 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.02967, allocations: 4 kB / 352.9 MB, free: 2.918 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003594/0.03003, allocations: 191.8 kB / 353.1 MB, free: 2.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004392/0.03046, allocations: 195.8 kB / 353.3 MB, free: 2.539 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002923/0.03339, allocations: 2.75 MB / 356 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002907/0.03368, allocations: 32.05 kB / 356.1 MB, free: 15.65 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.995e-05/0.03372, allocations: 35.98 kB / 356.1 MB, free: 15.62 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (90): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,13,72.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002156/0.03393, allocations: 237.6 kB / 356.3 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.867e-05/0.03401, allocations: 83.48 kB / 356.4 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.734e-05/0.03411, allocations: 103.2 kB / 356.5 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.03411, allocations: 8 kB / 356.5 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.03412, allocations: 4 kB / 356.5 MB, free: 15.17 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.03413, allocations: 3.984 kB / 356.5 MB, free: 15.17 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006016/0.03473, allocations: 0.7045 MB / 357.2 MB, free: 14.42 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.03473, allocations: 0 / 357.2 MB, free: 14.42 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003537/0.03509, allocations: 147.8 kB / 357.4 MB, free: 14.28 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002989/0.03539, allocations: 186.9 kB / 357.6 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.985e-05/0.03543, allocations: 23.92 kB / 357.6 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002196/0.03762, allocations: 2.756 MB / 360.4 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.03762, allocations: 0 / 360.4 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001663/0.03929, allocations: 1.42 MB / 361.8 MB, free: 9.766 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.463e-05/0.03936, allocations: 75.47 kB / 361.8 MB, free: 9.691 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.053e-05/0.03942, allocations: 15.94 kB / 361.9 MB, free: 9.676 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002804/0.0397, allocations: 51.95 kB / 361.9 MB, free: 9.625 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.03982, allocations: 64.48 kB / 362 MB, free: 9.562 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.17e-05/0.03985, allocations: 23.98 kB / 362 MB, free: 9.539 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003481/0.0402, allocations: 427.2 kB / 362.4 MB, free: 9.129 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0402, allocations: 0 / 362.4 MB, free: 9.129 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005637/0.04076, allocations: 243.9 kB / 362.7 MB, free: 8.891 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (C1.v,C4.v,C5.v,C2.v,C3.v,Transistor1.ct.v,Transistor1.Tr.vcs,Transistor2.ct.v,Transistor2.Tr.vcs) * 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 (56): * Single equations (assignments): 55 * 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): 1 system {(5,13,72.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001932/0.04269, allocations: 2 MB / 364.7 MB, free: 6.859 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001442/0.04414, allocations: 0.9937 MB / 365.6 MB, free: 5.852 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.04414, allocations: 0 / 365.6 MB, free: 5.852 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007185/0.04486, allocations: 0.616 MB / 366.3 MB, free: 5.219 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004595/0.04532, allocations: 143.2 kB / 366.4 MB, free: 5.078 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008087/0.05341, allocations: 7.278 MB / 373.7 MB, free: 13.58 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.05369, allocations: 395.2 kB / 374.1 MB, free: 13.15 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002497/0.05394, allocations: 97.39 kB / 374.2 MB, free: 13.05 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003001/0.05424, allocations: 320.4 kB / 374.5 MB, free: 12.74 MB / 346.7 MB Notification: Performance of SimCode: time 1.212e-06/0.05424, allocations: 0 / 374.5 MB, free: 12.74 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03392/0.08816, allocations: 20.76 MB / 395.2 MB, free: 8.242 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.438/7.526, allocations: 12 kB / 395.2 MB, free: 8.23 MB / 362.7 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv --start-time 0 --stop-time 1e-08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.9988e-12 Modelica_trunk_Modelica_Electrical_Analog_Examples_DifferenceAmplifier.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/DifferenceAmplifier/DifferenceAmplifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv. Warning: Get data of variable Time from file Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv failed! Error: Could not read variable Transistor1.ct.v in file Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv. Warning: Get data of variable Transistor1.ct.v from file Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv failed! Error: Could not read variable Transistor1.Tr.C.v in file Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv. Warning: Get data of variable Transistor1.Tr.C.v from file Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv failed! Error: Could not read variable Transistor2.ct.v in file Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv. Warning: Get data of variable Transistor2.ct.v from file Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv failed! Error: Could not read variable Transistor2.Tr.C.v in file Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv. Warning: Get data of variable Transistor2.Tr.C.v from file Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.379377355799079]