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.001841/0.001841, allocations: 114 kB / 20.43 MB, free: 1.457 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.00226/0.00226, allocations: 213.3 kB / 23.74 MB, free: 4.672 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.437/1.437, allocations: 230.5 MB / 257.4 MB, free: 8.012 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.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 0.001852/0.001852, allocations: 63.89 kB / 377.8 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.277, allocations: 53.41 MB / 431.2 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.007171/0.2842, allocations: 6.124 MB / 437.3 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003287/0.2875, allocations: 1.564 MB / 438.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005873/0.2881, allocations: 23.88 kB / 438.9 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004362/0.2885, allocations: 170.3 kB / 439.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000704/0.2892, allocations: 293.2 kB / 439.4 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009088/0.2901, allocations: 419.4 kB / 439.8 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001581/0.2917, allocations: 1.399 MB / 441.2 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005092/0.2922, allocations: 293.7 kB / 441.5 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008099/0.293, allocations: 0.5101 MB / 442 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006745/0.2937, allocations: 0.5641 MB / 442.5 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000164/0.2938, allocations: 139.9 kB / 442.7 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003088/0.2942, allocations: 180 kB / 442.8 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002185/0.2944, allocations: 279.2 kB / 443.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005071/0.2949, allocations: 0.5794 MB / 443.7 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001627/0.2965, allocations: 1.553 MB / 445.3 MB, free: 8.543 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.2965, allocations: 0 / 445.3 MB, free: 8.543 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2965, allocations: 0 / 445.3 MB, free: 8.543 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.697e-05/0.2965, allocations: 0 / 445.3 MB, free: 8.543 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: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 0.002643/0.2992, allocations: 1.334 MB / 446.6 MB, free: 7.176 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.2992, allocations: 12.03 kB / 446.6 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001607/0.2994, allocations: 139.6 kB / 446.7 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003444/0.2997, allocations: 136.2 kB / 446.9 MB, free: 6.887 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008474/0.3006, allocations: 0.4939 MB / 447.4 MB, free: 6.367 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.841e-05/0.3006, allocations: 62.38 kB / 447.4 MB, free: 6.305 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/0.3008, allocations: 92.38 kB / 447.5 MB, free: 6.215 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001568/0.3023, allocations: 0.8586 MB / 448.4 MB, free: 5.348 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.3024, allocations: 0 / 448.4 MB, free: 5.348 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-05/0.3024, allocations: 36 kB / 448.4 MB, free: 5.312 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.883e-05/0.3025, allocations: 20 kB / 448.4 MB, free: 5.293 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001664/0.3041, allocations: 0.8589 MB / 449.3 MB, free: 4.438 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005711/0.3098, allocations: 3.154 MB / 452.4 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00143/0.3113, allocations: 0.6289 MB / 453.1 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006962/0.312, allocations: 391.4 kB / 453.5 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.203e-05/0.312, allocations: 12.64 kB / 453.5 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.173e-05/0.3121, allocations: 47.22 kB / 453.5 MB, free: 64 kB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.294e-06/0.3121, allocations: 0 / 453.5 MB, free: 64 kB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004605/0.3167, allocations: 2.201 MB / 455.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/0.3167, allocations: 64.05 kB / 455.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007568/0.3175, allocations: 0.6019 MB / 456.4 MB, free: 13.15 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.125e-05/0.3176, allocations: 41.64 kB / 456.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003318/0.3179, allocations: 456.3 kB / 456.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000217/0.3181, allocations: 273.7 kB / 457.1 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002439/0.3183, allocations: 146.6 kB / 457.3 MB, free: 12.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001966/0.3185, allocations: 390.7 kB / 457.7 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006546/0.3192, allocations: 325.9 kB / 458 MB, free: 11.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007761/0.32, allocations: 472.5 kB / 458.4 MB, free: 11.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00142/0.3214, allocations: 0.8047 MB / 459.2 MB, free: 10.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.3214, allocations: 4 kB / 459.2 MB, free: 10.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002186/0.3236, allocations: 1.118 MB / 460.4 MB, free: 9.027 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.3236, allocations: 4 kB / 460.4 MB, free: 9.023 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.3236, allocations: 4 kB / 460.4 MB, free: 9.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005867/0.3242, allocations: 187.2 kB / 460.5 MB, free: 8.836 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008609/0.3251, allocations: 195.8 kB / 460.7 MB, free: 8.645 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003982/0.329, allocations: 2.779 MB / 463.5 MB, free: 5.758 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006379/0.3297, allocations: 44.03 kB / 463.6 MB, free: 5.715 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.298e-05/0.3297, allocations: 28 kB / 463.6 MB, free: 5.688 MB / 366.1 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.0003723/0.3301, allocations: 229.6 kB / 463.8 MB, free: 5.453 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.3303, allocations: 87.42 kB / 463.9 MB, free: 5.367 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001915/0.3304, allocations: 95.27 kB / 464 MB, free: 5.266 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.3305, allocations: 8 kB / 464 MB, free: 5.258 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.345e-05/0.3305, allocations: 4.125 kB / 464 MB, free: 5.254 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.3305, allocations: 11.98 kB / 464 MB, free: 5.242 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.3316, allocations: 0.8642 MB / 464.9 MB, free: 4.336 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.3316, allocations: 0 / 464.9 MB, free: 4.336 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007195/0.3323, allocations: 143.8 kB / 465 MB, free: 4.195 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00051/0.3328, allocations: 180.7 kB / 465.2 MB, free: 4.016 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.468e-05/0.3328, allocations: 19.98 kB / 465.2 MB, free: 3.996 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003698/0.3365, allocations: 2.791 MB / 468 MB, free: 1.102 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3365, allocations: 0 / 468 MB, free: 1.102 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002621/0.3392, allocations: 1.432 MB / 469.4 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001465/0.3393, allocations: 79.41 kB / 469.5 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.3394, allocations: 12 kB / 469.5 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006152/0.34, allocations: 55.95 kB / 469.6 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/0.3402, allocations: 56.55 kB / 469.6 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.188e-05/0.3402, allocations: 23.98 kB / 469.7 MB, free: 15.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005164/0.3407, allocations: 427.1 kB / 470.1 MB, free: 15.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3407, allocations: 0 / 470.1 MB, free: 15.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008187/0.3415, allocations: 243.9 kB / 470.3 MB, free: 14.78 MB / 382.1 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.003024/0.3446, allocations: 2.008 MB / 472.3 MB, free: 12.74 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002184/0.3468, allocations: 0.9785 MB / 473.3 MB, free: 11.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.3468, allocations: 4 kB / 473.3 MB, free: 11.74 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001321/0.3481, allocations: 0.6158 MB / 473.9 MB, free: 11.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007231/0.3488, allocations: 157.9 kB / 474.1 MB, free: 10.96 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01212/0.3609, allocations: 7.448 MB / 481.5 MB, free: 3.289 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006516/0.3616, allocations: 0.9814 MB / 482.5 MB, free: 2.277 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004355/0.362, allocations: 89.47 kB / 482.6 MB, free: 2.188 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004702/0.3625, allocations: 323.3 kB / 482.9 MB, free: 1.871 MB / 382.1 MB Notification: Performance of SimCode: time 1.313e-06/0.3625, allocations: 0 / 482.9 MB, free: 1.871 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06009/0.4226, allocations: 19.73 MB / 0.4909 GB, free: 14.36 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/12.89, allocations: 7.672 kB / 0.4909 GB, free: 14.36 MB / 414.1 MB " [Timeout remaining time 647] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/DifferenceAmplifier/DifferenceAmplifier.csv","/var/lib/jenkins1/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: 15.652310172998114]