Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001792/0.001792, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002368/0.002368, allocations: 208.9 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.444/1.444, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_DifferenceAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_DifferenceAmplifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 43.92 kB / 377.7 MB, free: 2.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2648, allocations: 53.37 MB / 431.1 MB, free: 6.613 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.006894/0.2717, allocations: 5.343 MB / 436.4 MB, free: 1.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002844/0.2746, allocations: 1.525 MB / 438 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003564/0.2749, allocations: 19.94 kB / 438 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003672/0.2753, allocations: 174.2 kB / 438.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005051/0.2758, allocations: 289.3 kB / 438.4 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008053/0.2766, allocations: 419.3 kB / 438.9 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001265/0.2779, allocations: 1.391 MB / 440.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004348/0.2783, allocations: 283.4 kB / 440.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005876/0.2789, allocations: 0.5062 MB / 441 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005941/0.2795, allocations: 0.5016 MB / 441.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001713/0.2796, allocations: 132 kB / 441.7 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003093/0.28, allocations: 180 kB / 441.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002448/0.2802, allocations: 279.1 kB / 442.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004699/0.2807, allocations: 493.9 kB / 442.6 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001451/0.2821, allocations: 1.553 MB / 444.1 MB, free: 9.504 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2821, allocations: 0 / 444.1 MB, free: 9.504 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2821, allocations: 0 / 444.1 MB, free: 9.504 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.027e-05/0.2821, allocations: 8 kB / 444.1 MB, free: 9.496 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.002547/0.2847, allocations: 1.334 MB / 445.5 MB, free: 8.129 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.2847, allocations: 11.97 kB / 445.5 MB, free: 8.117 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001591/0.2849, allocations: 135.6 kB / 445.6 MB, free: 7.977 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003402/0.2852, allocations: 132.2 kB / 445.8 MB, free: 7.848 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008417/0.2861, allocations: 0.5017 MB / 446.3 MB, free: 7.316 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.766e-05/0.2861, allocations: 66.38 kB / 446.3 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/0.2863, allocations: 84.38 kB / 446.4 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001686/0.288, allocations: 1.106 MB / 447.5 MB, free: 5.992 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.288, allocations: 0 / 447.5 MB, free: 5.992 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.407e-05/0.2881, allocations: 40 kB / 447.6 MB, free: 5.953 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.05e-05/0.2881, allocations: 20 kB / 447.6 MB, free: 5.934 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00166/0.2897, allocations: 0.855 MB / 448.4 MB, free: 5.082 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005271/0.295, allocations: 2.885 MB / 451.3 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/0.2961, allocations: 0.6184 MB / 451.9 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006775/0.2968, allocations: 395.2 kB / 452.3 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.84e-05/0.2969, allocations: 12.66 kB / 452.3 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.2969, allocations: 51.16 kB / 452.4 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.034e-06/0.2969, allocations: 0 / 452.4 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.0044/0.3013, allocations: 2.194 MB / 454.6 MB, free: 14.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.3013, allocations: 60.06 kB / 454.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007107/0.3021, allocations: 0.6174 MB / 455.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.446e-05/0.3021, allocations: 41.64 kB / 455.3 MB, free: 14.01 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000325/0.3024, allocations: 456.1 kB / 455.7 MB, free: 13.56 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002086/0.3026, allocations: 273.7 kB / 456 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002414/0.3029, allocations: 146.6 kB / 456.1 MB, free: 13.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.3031, allocations: 386.7 kB / 456.5 MB, free: 12.76 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006739/0.3037, allocations: 329.9 kB / 456.8 MB, free: 12.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000757/0.3045, allocations: 468.6 kB / 457.3 MB, free: 11.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00141/0.3059, allocations: 0.8086 MB / 458.1 MB, free: 11.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.3059, allocations: 4 kB / 458.1 MB, free: 11.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002175/0.3081, allocations: 1.107 MB / 459.2 MB, free: 9.949 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3081, allocations: 8.062 kB / 459.2 MB, free: 9.941 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.3081, allocations: 4 kB / 459.2 MB, free: 9.938 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005321/0.3087, allocations: 184.7 kB / 459.4 MB, free: 9.754 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008335/0.3095, allocations: 203.7 kB / 459.6 MB, free: 9.555 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003768/0.3133, allocations: 2.753 MB / 462.4 MB, free: 6.691 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006267/0.3139, allocations: 36.05 kB / 462.4 MB, free: 6.656 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.596e-05/0.3139, allocations: 35.98 kB / 462.4 MB, free: 6.621 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.0003536/0.3143, allocations: 225.7 kB / 462.7 MB, free: 6.391 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.3144, allocations: 83.47 kB / 462.7 MB, free: 6.309 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001878/0.3146, allocations: 99.25 kB / 462.8 MB, free: 6.203 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.3146, allocations: 8 kB / 462.8 MB, free: 6.195 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/0.3146, allocations: 4 kB / 462.8 MB, free: 6.191 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.3146, allocations: 7.984 kB / 462.9 MB, free: 6.184 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009884/0.3156, allocations: 0.7122 MB / 463.6 MB, free: 5.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.3156, allocations: 7.938 kB / 463.6 MB, free: 5.422 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006792/0.3163, allocations: 147.8 kB / 463.7 MB, free: 5.277 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004867/0.3168, allocations: 183.7 kB / 463.9 MB, free: 5.098 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.407e-05/0.3169, allocations: 15.98 kB / 463.9 MB, free: 5.082 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003634/0.3205, allocations: 2.753 MB / 466.7 MB, free: 2.223 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.3205, allocations: 4 kB / 466.7 MB, free: 2.219 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00255/0.323, allocations: 1.435 MB / 468.1 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.3232, allocations: 67.52 kB / 468.2 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.3233, allocations: 20 kB / 468.2 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005821/0.3239, allocations: 51.95 kB / 468.2 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/0.324, allocations: 52.55 kB / 468.3 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.636e-05/0.3241, allocations: 27.98 kB / 468.3 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005397/0.3246, allocations: 423.1 kB / 468.7 MB, free: 144 kB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3246, allocations: 96 / 468.7 MB, free: 144 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008628/0.3255, allocations: 251.9 kB / 469 MB, free: 15.89 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.003116/0.3286, allocations: 2 MB / 471 MB, free: 13.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00224/0.3308, allocations: 1.002 MB / 472 MB, free: 12.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3308, allocations: 0 / 472 MB, free: 12.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001328/0.3322, allocations: 0.6113 MB / 472.6 MB, free: 12.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007309/0.3329, allocations: 139.2 kB / 472.7 MB, free: 12.08 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01156/0.3445, allocations: 7.459 MB / 480.2 MB, free: 4.406 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004185/0.3449, allocations: 395.2 kB / 480.6 MB, free: 3.984 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000407/0.3453, allocations: 93.47 kB / 480.7 MB, free: 3.891 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004364/0.3457, allocations: 319.3 kB / 481 MB, free: 3.578 MB / 382.1 MB Notification: Performance of SimCode: time 7.12e-07/0.3457, allocations: 0 / 481 MB, free: 3.578 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06108/0.4068, allocations: 20.66 MB / 0.4899 GB, free: 15.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/12.42, allocations: 7.797 kB / 0.4899 GB, free: 15.26 MB / 414.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Electrical_Analog_Examples_DifferenceAmplifier.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv. Warning: Get data of variable Time from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv failed! Error: Could not read variable Transistor1.ct.v in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv. Warning: Get data of variable Transistor1.ct.v from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv failed! Error: Could not read variable Transistor1.Tr.C.v in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv. Warning: Get data of variable Transistor1.Tr.C.v from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv failed! Error: Could not read variable Transistor2.ct.v in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv. Warning: Get data of variable Transistor2.ct.v from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv failed! Error: Could not read variable Transistor2.Tr.C.v in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv. Warning: Get data of variable Transistor2.Tr.C.v from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.109356839675456]