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.001337/0.001337, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001413/0.001413, allocations: 214.6 kB / 23.74 MB, free: 4.656 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.394/1.394, allocations: 230.6 MB / 257.5 MB, free: 8.031 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.00152/0.00152, allocations: 47.92 kB / 377.8 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2628, allocations: 53.37 MB / 431.2 MB, free: 6.992 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.007464/0.2703, allocations: 6.116 MB / 437.3 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003334/0.2736, allocations: 1.568 MB / 438.8 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008286/0.2745, allocations: 19.88 kB / 438.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004784/0.2749, allocations: 170.3 kB / 439 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007383/0.2757, allocations: 301.2 kB / 439.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009647/0.2766, allocations: 407.4 kB / 439.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001606/0.2782, allocations: 1.403 MB / 441.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004797/0.2787, allocations: 293.7 kB / 441.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007168/0.2794, allocations: 0.514 MB / 441.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007626/0.2802, allocations: 0.5641 MB / 442.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001966/0.2804, allocations: 132 kB / 442.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003433/0.2807, allocations: 184 kB / 442.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002414/0.281, allocations: 279.1 kB / 443.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005827/0.2816, allocations: 0.5795 MB / 443.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001677/0.2832, allocations: 1.561 MB / 445.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2833, allocations: 0 / 445.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.2833, allocations: 0 / 445.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.224e-05/0.2833, allocations: 0 / 445.2 MB, free: 8.867 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.002676/0.286, allocations: 1.326 MB / 446.5 MB, free: 7.508 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.286, allocations: 8.031 kB / 446.5 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001787/0.2862, allocations: 147.6 kB / 446.7 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000346/0.2865, allocations: 128.2 kB / 446.8 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008386/0.2874, allocations: 0.4978 MB / 447.3 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.552e-05/0.2874, allocations: 66.38 kB / 447.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/0.2876, allocations: 84.38 kB / 447.5 MB, free: 6.547 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001595/0.2892, allocations: 0.8625 MB / 448.3 MB, free: 5.676 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.2892, allocations: 0 / 448.3 MB, free: 5.676 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.445e-05/0.2893, allocations: 36 kB / 448.4 MB, free: 5.641 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.23e-05/0.2893, allocations: 20 kB / 448.4 MB, free: 5.621 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001655/0.2909, allocations: 0.855 MB / 449.2 MB, free: 4.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005649/0.2966, allocations: 3.15 MB / 452.4 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001139/0.2977, allocations: 0.6258 MB / 453 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006908/0.2984, allocations: 395.2 kB / 453.4 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.893e-05/0.2985, allocations: 16.58 kB / 453.4 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.52e-05/0.2985, allocations: 51.16 kB / 453.5 MB, free: 400 kB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.535e-06/0.2985, allocations: 0 / 453.5 MB, free: 400 kB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004703/0.3032, allocations: 2.201 MB / 455.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.344e-05/0.3033, allocations: 60.06 kB / 455.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007688/0.3041, allocations: 0.6058 MB / 456.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.83e-05/0.3041, allocations: 37.7 kB / 456.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003341/0.3045, allocations: 448.3 kB / 456.8 MB, free: 12.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002206/0.3047, allocations: 273.7 kB / 457.1 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002463/0.3049, allocations: 154.6 kB / 457.2 MB, free: 12.56 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000204/0.3051, allocations: 386.7 kB / 457.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006512/0.3058, allocations: 325.9 kB / 457.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007633/0.3065, allocations: 468.6 kB / 458.4 MB, free: 11.35 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001423/0.308, allocations: 0.8124 MB / 459.2 MB, free: 10.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.308, allocations: 4 kB / 459.2 MB, free: 10.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002271/0.3102, allocations: 1.111 MB / 460.3 MB, free: 9.367 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.3103, allocations: 8 kB / 460.3 MB, free: 9.359 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.3103, allocations: 8.062 kB / 460.3 MB, free: 9.352 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005779/0.3109, allocations: 191.6 kB / 460.5 MB, free: 9.164 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000864/0.3117, allocations: 195.8 kB / 460.7 MB, free: 8.973 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003961/0.3157, allocations: 2.776 MB / 463.5 MB, free: 6.086 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007166/0.3164, allocations: 36.05 kB / 463.5 MB, free: 6.051 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.511e-05/0.3165, allocations: 31.98 kB / 463.5 MB, free: 6.02 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.0004188/0.3169, allocations: 229.7 kB / 463.8 MB, free: 5.785 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/0.317, allocations: 87.42 kB / 463.8 MB, free: 5.699 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001929/0.3172, allocations: 95.27 kB / 463.9 MB, free: 5.598 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.3172, allocations: 4 kB / 463.9 MB, free: 5.594 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-05/0.3172, allocations: 11.97 kB / 464 MB, free: 5.582 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.3172, allocations: 3.938 kB / 464 MB, free: 5.578 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.3183, allocations: 0.8681 MB / 464.8 MB, free: 4.668 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3183, allocations: 4 kB / 464.8 MB, free: 4.664 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007081/0.319, allocations: 143.8 kB / 465 MB, free: 4.523 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005701/0.3196, allocations: 180.7 kB / 465.1 MB, free: 4.344 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.788e-05/0.3197, allocations: 19.98 kB / 465.2 MB, free: 4.324 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003776/0.3235, allocations: 2.788 MB / 468 MB, free: 1.434 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.3235, allocations: 7.922 kB / 468 MB, free: 1.426 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00277/0.3262, allocations: 1.432 MB / 469.4 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001965/0.3264, allocations: 79.34 kB / 469.5 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.3265, allocations: 12 kB / 469.5 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006245/0.3272, allocations: 59.95 kB / 469.5 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/0.3273, allocations: 56.58 kB / 469.6 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.627e-05/0.3274, allocations: 24.17 kB / 469.6 MB, free: 15.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000571/0.3279, allocations: 427.1 kB / 470 MB, free: 15.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3279, allocations: 3.938 kB / 470 MB, free: 15.33 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008025/0.3287, allocations: 239.9 kB / 470.3 MB, free: 15.1 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.003247/0.332, allocations: 1.996 MB / 472.3 MB, free: 13.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00226/0.3342, allocations: 0.9902 MB / 473.3 MB, free: 12.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.3342, allocations: 0 / 473.3 MB, free: 12.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001331/0.3356, allocations: 0.6158 MB / 473.9 MB, free: 11.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007845/0.3364, allocations: 151.1 kB / 474 MB, free: 11.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01219/0.3485, allocations: 7.456 MB / 481.5 MB, free: 3.609 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006349/0.3492, allocations: 0.9775 MB / 482.5 MB, free: 2.602 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004194/0.3496, allocations: 97.44 kB / 482.6 MB, free: 2.504 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004511/0.35, allocations: 323.3 kB / 482.9 MB, free: 2.188 MB / 382.1 MB Notification: Performance of SimCode: time 1.303e-06/0.3501, allocations: 0 / 482.9 MB, free: 2.188 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05682/0.4069, allocations: 19.74 MB / 0.4908 GB, free: 14.72 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/12.83, allocations: 15.86 kB / 0.4908 GB, free: 14.71 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.405734051000763]