Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.001344/0.001344, allocations: 116.7 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.001466/0.001466, allocations: 214.3 kB / 23.75 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.427/1.427, allocations: 230.5 MB / 257.4 MB, free: 7.973 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.OpAmps.NonInvertingAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 63.89 kB / 377.8 MB, free: 2.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2802, allocations: 53.41 MB / 431.2 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004643/0.2849, allocations: 3.002 MB / 434.2 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001463/0.2863, allocations: 0.744 MB / 435 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001676/0.2865, allocations: 7.938 kB / 435 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001771/0.2867, allocations: 51.5 kB / 435 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002118/0.2869, allocations: 107.2 kB / 435.1 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002946/0.2872, allocations: 107.8 kB / 435.2 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004753/0.2876, allocations: 414.3 kB / 435.6 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000209/0.2879, allocations: 95.66 kB / 435.7 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001985/0.2881, allocations: 155.4 kB / 435.9 MB, free: 1.969 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002365/0.2883, allocations: 175.2 kB / 436.1 MB, free: 1.797 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001594/0.2884, allocations: 40 kB / 436.1 MB, free: 1.758 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.885e-05/0.2885, allocations: 44 kB / 436.1 MB, free: 1.715 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.952e-05/0.2886, allocations: 83.69 kB / 436.2 MB, free: 1.633 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002083/0.2888, allocations: 179.1 kB / 436.4 MB, free: 1.457 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00055/0.2894, allocations: 466.6 kB / 436.8 MB, free: 1.004 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.2894, allocations: 4 kB / 436.9 MB, free: 1 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2894, allocations: 0 / 436.9 MB, free: 1 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.2894, allocations: 0 / 436.9 MB, free: 1 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001295/0.2907, allocations: 0.5975 MB / 437.4 MB, free: 376 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.2907, allocations: 12.02 kB / 437.5 MB, free: 364 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.604e-05/0.2908, allocations: 62.67 kB / 437.5 MB, free: 292 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.609e-05/0.2909, allocations: 36.75 kB / 437.6 MB, free: 256 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00052/0.2914, allocations: 253.9 kB / 437.8 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.48e-05/0.2914, allocations: 25.03 kB / 437.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.444e-05/0.2915, allocations: 24.38 kB / 437.9 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006325/0.2921, allocations: 282.2 kB / 438.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.2921, allocations: 4 kB / 438.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.506e-05/0.2922, allocations: 12 kB / 438.1 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.2922, allocations: 4 kB / 438.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006793/0.2929, allocations: 270.5 kB / 438.4 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001897/0.2948, allocations: 1.053 MB / 439.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006373/0.2954, allocations: 218.6 kB / 439.7 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002608/0.2957, allocations: 88.8 kB / 439.8 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.2957, allocations: 0 / 439.8 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004442/0.2961, allocations: 181.5 kB / 439.9 MB, free: 13.72 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.312e-06/0.2961, allocations: 4 kB / 439.9 MB, free: 13.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001703/0.2978, allocations: 454.1 kB / 440.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001291/0.298, allocations: 136.5 kB / 440.5 MB, free: 13.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003681/0.2983, allocations: 281.9 kB / 440.8 MB, free: 12.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.511e-05/0.2984, allocations: 29.7 kB / 440.8 MB, free: 12.78 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/0.2986, allocations: 204 kB / 441 MB, free: 12.58 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.628e-05/0.2986, allocations: 55.53 kB / 441.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.2987, allocations: 53.66 kB / 441.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001965/0.2989, allocations: 338.8 kB / 441.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000284/0.2992, allocations: 95.92 kB / 441.6 MB, free: 12.03 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003854/0.2996, allocations: 197.5 kB / 441.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000641/0.3002, allocations: 294.5 kB / 442 MB, free: 11.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.3002, allocations: 4 kB / 442 MB, free: 11.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001007/0.3012, allocations: 415.6 kB / 442.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.884e-05/0.3013, allocations: 33.7 kB / 442.5 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.3013, allocations: 7.938 kB / 442.5 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003737/0.3017, allocations: 81.03 kB / 442.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/0.3019, allocations: 51.91 kB / 442.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002615/0.3045, allocations: 1.884 MB / 444.5 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000352/0.3049, allocations: 51.81 kB / 444.6 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-05/0.3049, allocations: 16.06 kB / 444.6 MB, free: 8.793 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 7 (buffer.opAmp.satNeg,buffer.opAmp.satPos,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 (25): * Single equations (assignments): 23 * 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.000226/0.3051, allocations: 157.3 kB / 444.7 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.167e-05/0.3052, allocations: 35.8 kB / 444.8 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.558e-05/0.3052, allocations: 26.11 kB / 444.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.3052, allocations: 4 kB / 444.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.3052, allocations: 3.938 kB / 444.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3053, allocations: 0 / 444.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003632/0.3056, allocations: 300.5 kB / 445.1 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.3056, allocations: 4 kB / 445.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.3058, allocations: 23.97 kB / 445.1 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002722/0.306, allocations: 68.8 kB / 445.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/0.306, allocations: 4 kB / 445.2 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002198/0.3082, allocations: 1.869 MB / 447.1 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3082, allocations: 0 / 447.1 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008087/0.3091, allocations: 324.4 kB / 447.4 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.74e-05/0.3091, allocations: 31.78 kB / 447.4 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.77e-05/0.3092, allocations: 4 kB / 447.4 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002348/0.3094, allocations: 31.97 kB / 447.4 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.166e-05/0.3095, allocations: 23.95 kB / 447.5 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.3095, allocations: 4 kB / 447.5 MB, free: 5.711 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002312/0.3097, allocations: 205.2 kB / 447.7 MB, free: 5.508 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3097, allocations: 0 / 447.7 MB, free: 5.508 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004349/0.3102, allocations: 83.89 kB / 447.7 MB, free: 5.426 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: 5 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count,buffer.opAmp.satPos,buffer.opAmp.satNeg) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * 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.001139/0.3113, allocations: 0.8472 MB / 448.6 MB, free: 4.543 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009404/0.3122, allocations: 416.4 kB / 449 MB, free: 4.113 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3122, allocations: 0.6875 kB / 449 MB, free: 4.113 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004563/0.3127, allocations: 234.6 kB / 449.2 MB, free: 3.871 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.3131, allocations: 62.8 kB / 449.3 MB, free: 3.812 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005654/0.3187, allocations: 3.132 MB / 452.4 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004115/0.3191, allocations: 0.7563 MB / 453.2 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001145/0.3192, allocations: 30.97 kB / 453.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/0.3194, allocations: 87.41 kB / 453.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3194, allocations: 0 / 453.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03875/0.3581, allocations: 7.414 MB / 460.7 MB, free: 8.352 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/12.64, allocations: 6.875 kB / 460.7 MB, free: 8.348 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_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_OpAmps_NonInvertingAmplifier.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable buffer.opAmp.out.v in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.csv. Warning: Get data of variable buffer.opAmp.out.v from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.csv failed! Error: Could not read variable buffer.opAmp.out.i in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.csv. Warning: Get data of variable buffer.opAmp.out.i from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.098907113002497]