Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.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.001444/0.001444, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001475/0.001475, allocations: 213.2 kB / 23.73 MB, free: 4.164 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.525/1.525, allocations: 230.5 MB / 257.4 MB, free: 7.781 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.InvertingAmp,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_InvertingAmp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.InvertingAmp,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_InvertingAmp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 64.12 kB / 377.8 MB, free: 2.797 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3052, allocations: 53.4 MB / 431.2 MB, free: 6.586 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.00424/0.3095, allocations: 2.638 MB / 433.8 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.3108, allocations: 0.635 MB / 434.4 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001589/0.311, allocations: 4 kB / 434.4 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000178/0.3112, allocations: 51.5 kB / 434.5 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002378/0.3114, allocations: 99.17 kB / 434.6 MB, free: 3.145 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002875/0.3117, allocations: 83.89 kB / 434.7 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004481/0.3122, allocations: 374.5 kB / 435 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002181/0.3124, allocations: 92.92 kB / 435.1 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001995/0.3126, allocations: 151.4 kB / 435.3 MB, free: 2.457 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/0.3128, allocations: 139.4 kB / 435.4 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.567e-05/0.3128, allocations: 36 kB / 435.4 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.965e-05/0.3129, allocations: 32 kB / 435.5 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.97e-05/0.313, allocations: 79.69 kB / 435.5 MB, free: 2.176 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001626/0.3131, allocations: 135.4 kB / 435.7 MB, free: 2.043 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004661/0.3136, allocations: 386.4 kB / 436.1 MB, free: 1.664 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.3136, allocations: 0 / 436.1 MB, free: 1.664 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3136, allocations: 4 kB / 436.1 MB, free: 1.66 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.3136, allocations: 0 / 436.1 MB, free: 1.66 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001426/0.3151, allocations: 0.5897 MB / 436.6 MB, free: 1.035 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.3151, allocations: 8.031 kB / 436.7 MB, free: 1.027 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.228e-05/0.3152, allocations: 62.72 kB / 436.7 MB, free: 0.957 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.665e-05/0.3153, allocations: 36.7 kB / 436.8 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004044/0.3157, allocations: 218.9 kB / 437 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.3157, allocations: 20.88 kB / 437 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.877e-05/0.3157, allocations: 20.38 kB / 437 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006853/0.3164, allocations: 358.1 kB / 437.4 MB, free: 272 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.3164, allocations: 0 / 437.4 MB, free: 272 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.038e-05/0.3165, allocations: 8 kB / 437.4 MB, free: 264 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.3165, allocations: 8 kB / 437.4 MB, free: 256 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007833/0.3173, allocations: 253.5 kB / 437.6 MB, free: 0 / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001757/0.319, allocations: 0.9846 MB / 438.6 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007974/0.3198, allocations: 198.5 kB / 438.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003083/0.3201, allocations: 88.78 kB / 438.9 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.3201, allocations: 4 kB / 438.9 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005007/0.3206, allocations: 217.3 kB / 439.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.412e-06/0.3206, allocations: 0 / 439.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.002124/0.3228, allocations: 445.8 kB / 439.5 MB, free: 13.94 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.3229, allocations: 106.8 kB / 439.6 MB, free: 13.81 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003807/0.3233, allocations: 285.8 kB / 439.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.686e-05/0.3233, allocations: 33.69 kB / 440 MB, free: 13.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.3235, allocations: 200 kB / 440.1 MB, free: 13.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.704e-05/0.3235, allocations: 43.67 kB / 440.2 MB, free: 13.24 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.3236, allocations: 53.89 kB / 440.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.3238, allocations: 338.8 kB / 440.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003601/0.3242, allocations: 117.9 kB / 440.7 MB, free: 12.72 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004976/0.3247, allocations: 279.9 kB / 441 MB, free: 12.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007919/0.3255, allocations: 316.8 kB / 441.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.3255, allocations: 3.938 kB / 441.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001351/0.3268, allocations: 449.6 kB / 441.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.621e-05/0.3269, allocations: 33.69 kB / 441.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/0.3269, allocations: 11.94 kB / 441.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004651/0.3274, allocations: 68.81 kB / 441.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002551/0.3276, allocations: 55.98 kB / 441.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002977/0.3306, allocations: 1.604 MB / 443.5 MB, free: 9.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004213/0.331, allocations: 55.73 kB / 443.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.75e-05/0.331, allocations: 12 kB / 443.6 MB, free: 9.598 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001895/0.3312, allocations: 150.3 kB / 443.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.146e-05/0.3313, allocations: 23.86 kB / 443.7 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.988e-05/0.3313, allocations: 29.7 kB / 443.8 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.3313, allocations: 4 kB / 443.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.3313, allocations: 0 / 443.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3313, allocations: 192 / 443.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002737/0.3316, allocations: 248.5 kB / 444 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.3316, allocations: 3.984 kB / 444 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.3317, allocations: 19.92 kB / 444 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002765/0.332, allocations: 68.8 kB / 444.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.332, allocations: 4 kB / 444.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002382/0.3344, allocations: 1.584 MB / 445.7 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3344, allocations: 0 / 445.7 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.3355, allocations: 313.5 kB / 446 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.3356, allocations: 35.83 kB / 446 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.134e-05/0.3356, allocations: 11.98 kB / 446 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002375/0.3359, allocations: 24.16 kB / 446.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.955e-05/0.3359, allocations: 27.95 kB / 446.1 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.336, allocations: 7.938 kB / 446.1 MB, free: 6.867 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002289/0.3362, allocations: 205.2 kB / 446.3 MB, free: 6.668 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3362, allocations: 0 / 446.3 MB, free: 6.668 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003669/0.3366, allocations: 79.89 kB / 446.4 MB, free: 6.59 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001378/0.3379, allocations: 0.8505 MB / 447.2 MB, free: 5.711 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001076/0.339, allocations: 439.5 kB / 447.6 MB, free: 5.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.339, allocations: 0 / 447.6 MB, free: 5.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004816/0.3395, allocations: 219.2 kB / 447.9 MB, free: 5.023 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.3398, allocations: 32.97 kB / 447.9 MB, free: 4.992 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005467/0.3453, allocations: 3.118 MB / 451 MB, free: 1.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001539/0.3454, allocations: 146.9 kB / 451.2 MB, free: 1.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001198/0.3455, allocations: 26.23 kB / 451.2 MB, free: 1.492 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.3457, allocations: 75.41 kB / 451.3 MB, free: 1.422 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3457, allocations: 0 / 451.3 MB, free: 1.422 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03943/0.3851, allocations: 7.465 MB / 458.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.46/12.84, allocations: 11.84 kB / 458.7 MB, free: 10.1 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Electrical_Analog_Examples_InvertingAmp.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable vIn.signalSource.y in file Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp_res.csv. Warning: Get data of variable vIn.signalSource.y from file Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.400181327015162]