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.001307/0.001307, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001447/0.001447, allocations: 204.9 kB / 23.73 MB, free: 4.379 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.434/1.434, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.001479/0.001479, allocations: 43.92 kB / 377.7 MB, free: 2.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2844, allocations: 53.37 MB / 431.1 MB, free: 6.621 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.007303/0.2917, allocations: 5.343 MB / 436.4 MB, free: 1.258 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003909/0.2956, allocations: 1.521 MB / 438 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006556/0.2962, allocations: 23.88 kB / 438 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000454/0.2967, allocations: 170.3 kB / 438.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006719/0.2974, allocations: 297.2 kB / 438.4 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009216/0.2983, allocations: 415.4 kB / 438.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001518/0.2998, allocations: 1.391 MB / 440.2 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005014/0.3003, allocations: 299.4 kB / 440.5 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008205/0.3011, allocations: 0.514 MB / 441 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000642/0.3018, allocations: 0.5641 MB / 441.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001799/0.302, allocations: 136 kB / 441.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003273/0.3023, allocations: 184 kB / 441.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002266/0.3025, allocations: 275.1 kB / 442.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004584/0.303, allocations: 498 kB / 442.7 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001541/0.3045, allocations: 1.564 MB / 444.2 MB, free: 9.406 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.3045, allocations: 0 / 444.2 MB, free: 9.406 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3045, allocations: 0 / 444.2 MB, free: 9.406 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.459e-05/0.3045, allocations: 0 / 444.2 MB, free: 9.406 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.002539/0.3071, allocations: 1.33 MB / 445.6 MB, free: 8.043 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.3071, allocations: 12.03 kB / 445.6 MB, free: 8.031 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001843/0.3073, allocations: 139.6 kB / 445.7 MB, free: 7.887 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00033/0.3076, allocations: 136.2 kB / 445.9 MB, free: 7.754 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008254/0.3085, allocations: 0.4939 MB / 446.4 MB, free: 7.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.316e-05/0.3085, allocations: 62.38 kB / 446.4 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/0.3087, allocations: 88.38 kB / 446.5 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001686/0.3103, allocations: 1.117 MB / 447.6 MB, free: 5.895 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.3104, allocations: 0 / 447.6 MB, free: 5.895 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.273e-05/0.3104, allocations: 36 kB / 447.7 MB, free: 5.859 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.085e-05/0.3105, allocations: 20 kB / 447.7 MB, free: 5.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001615/0.3121, allocations: 0.8472 MB / 448.5 MB, free: 4.996 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005384/0.3175, allocations: 2.889 MB / 451.4 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/0.3186, allocations: 0.6146 MB / 452 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007112/0.3193, allocations: 399.2 kB / 452.4 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.95e-05/0.3194, allocations: 12.59 kB / 452.4 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/0.3194, allocations: 43.22 kB / 452.5 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.365e-06/0.3194, allocations: 0 / 452.5 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004683/0.3241, allocations: 2.201 MB / 454.7 MB, free: 14.67 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.469e-05/0.3242, allocations: 60.06 kB / 454.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007838/0.3249, allocations: 0.6096 MB / 455.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.089e-05/0.325, allocations: 41.7 kB / 455.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003608/0.3254, allocations: 452.3 kB / 455.8 MB, free: 13.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002279/0.3256, allocations: 281.7 kB / 456.1 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002518/0.3258, allocations: 150.6 kB / 456.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.326, allocations: 382.8 kB / 456.6 MB, free: 12.67 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006502/0.3267, allocations: 325.9 kB / 456.9 MB, free: 12.35 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007663/0.3274, allocations: 468.6 kB / 457.4 MB, free: 11.85 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/0.3289, allocations: 0.8086 MB / 458.2 MB, free: 10.99 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.3289, allocations: 0 / 458.2 MB, free: 10.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002185/0.3311, allocations: 1.115 MB / 459.3 MB, free: 9.863 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.3311, allocations: 8 kB / 459.3 MB, free: 9.855 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.3311, allocations: 4 kB / 459.3 MB, free: 9.852 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005596/0.3316, allocations: 192.7 kB / 459.5 MB, free: 9.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008473/0.3325, allocations: 191.8 kB / 459.7 MB, free: 9.473 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003831/0.3363, allocations: 2.761 MB / 462.5 MB, free: 6.602 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006166/0.3369, allocations: 32.05 kB / 462.5 MB, free: 6.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.547e-05/0.337, allocations: 39.92 kB / 462.5 MB, free: 6.531 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.000394/0.3374, allocations: 225.7 kB / 462.8 MB, free: 6.301 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/0.3375, allocations: 83.47 kB / 462.8 MB, free: 6.219 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001923/0.3377, allocations: 99.25 kB / 462.9 MB, free: 6.113 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.605e-06/0.3377, allocations: 7.984 kB / 462.9 MB, free: 6.105 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.582e-05/0.3378, allocations: 7.938 kB / 462.9 MB, free: 6.098 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.3378, allocations: 0 / 462.9 MB, free: 6.098 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.3388, allocations: 0.7123 MB / 463.7 MB, free: 5.344 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.3388, allocations: 3.938 kB / 463.7 MB, free: 5.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000707/0.3395, allocations: 147.8 kB / 463.8 MB, free: 5.195 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000504/0.34, allocations: 179.5 kB / 464 MB, free: 5.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.883e-05/0.3401, allocations: 23.98 kB / 464 MB, free: 4.996 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00371/0.3438, allocations: 2.757 MB / 466.8 MB, free: 2.133 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3438, allocations: 0 / 466.8 MB, free: 2.133 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002685/0.3464, allocations: 1.428 MB / 468.2 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001889/0.3466, allocations: 75.52 kB / 468.3 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.3468, allocations: 16 kB / 468.3 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005694/0.3473, allocations: 51.95 kB / 468.3 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.3474, allocations: 56.58 kB / 468.4 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.549e-05/0.3475, allocations: 24.23 kB / 468.4 MB, free: 480 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005231/0.348, allocations: 431 kB / 468.8 MB, free: 52 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.348, allocations: 4 kB / 468.8 MB, free: 48 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008434/0.3489, allocations: 244 kB / 469.1 MB, free: 15.8 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.003035/0.3519, allocations: 1.999 MB / 471.1 MB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002205/0.3541, allocations: 0.994 MB / 472.1 MB, free: 12.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.3541, allocations: 4 kB / 472.1 MB, free: 12.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001367/0.3555, allocations: 0.6158 MB / 472.7 MB, free: 12.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007298/0.3562, allocations: 147.2 kB / 472.8 MB, free: 12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01163/0.3678, allocations: 7.455 MB / 480.3 MB, free: 4.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004808/0.3683, allocations: 391.2 kB / 480.7 MB, free: 3.902 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000392/0.3687, allocations: 89.47 kB / 480.8 MB, free: 3.812 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004448/0.3692, allocations: 319.3 kB / 481.1 MB, free: 3.5 MB / 382.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3692, allocations: 3.938 kB / 481.1 MB, free: 3.496 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06222/0.4314, allocations: 20.91 MB / 0.4902 GB, free: 14.94 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.99, allocations: 15.22 kB / 0.4902 GB, free: 14.93 MB / 414.1 MB " [Timeout remaining time 648] (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: 14.572555512015242]