Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.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.001246/0.001246, allocations: 127.4 kB / 17.79 MB, free: 5.246 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.001352/0.001352, allocations: 208.3 kB / 20.75 MB, free: 2.297 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.458/1.458, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.OpAmps.DifferentialAmplifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 47.94 kB / 373 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1034, allocations: 53.35 MB / 426.4 MB, free: 4.727 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.005753/0.1092, allocations: 4.485 MB / 430.9 MB, free: 220 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2056/0.3148, allocations: 1.283 MB / 432.1 MB, free: 7.566 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002937/0.3151, allocations: 16.81 kB / 432.2 MB, free: 7.566 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000401/0.3155, allocations: 145 kB / 432.3 MB, free: 7.562 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000347/0.3159, allocations: 205.5 kB / 432.5 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000395/0.3162, allocations: 220.8 kB / 432.7 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006294/0.3169, allocations: 0.7632 MB / 433.5 MB, free: 7.328 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002868/0.3172, allocations: 195.9 kB / 433.7 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003188/0.3175, allocations: 307.1 kB / 434 MB, free: 7.238 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003116/0.3178, allocations: 323.4 kB / 434.3 MB, free: 7.164 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.889e-05/0.3179, allocations: 64.56 kB / 434.3 MB, free: 7.164 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000133/0.318, allocations: 69.8 kB / 434.4 MB, free: 7.164 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.574e-05/0.3181, allocations: 157.8 kB / 434.6 MB, free: 7.129 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000245/0.3184, allocations: 343.7 kB / 434.9 MB, free: 7.027 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007393/0.3191, allocations: 0.7553 MB / 435.7 MB, free: 6.898 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3191, allocations: 1.906 kB / 435.7 MB, free: 6.898 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3191, allocations: 0 / 435.7 MB, free: 6.898 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.3191, allocations: 0 / 435.7 MB, free: 6.898 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001635/0.3208, allocations: 0.9789 MB / 436.6 MB, free: 6.238 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.3208, allocations: 14.14 kB / 436.7 MB, free: 6.234 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001037/0.3209, allocations: 102.5 kB / 436.8 MB, free: 6.156 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00029/0.3212, allocations: 94.5 kB / 436.8 MB, free: 6.117 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004872/0.3217, allocations: 423.2 kB / 437.3 MB, free: 5.793 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.347e-05/0.3217, allocations: 41.95 kB / 437.3 MB, free: 5.777 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.467e-05/0.3218, allocations: 59.97 kB / 437.4 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009435/0.3227, allocations: 0.554 MB / 437.9 MB, free: 5.512 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.3227, allocations: 0.7031 kB / 437.9 MB, free: 5.512 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.892e-05/0.3228, allocations: 20.88 kB / 437.9 MB, free: 5.496 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.3228, allocations: 13.25 kB / 437.9 MB, free: 5.496 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008492/0.3236, allocations: 419.6 kB / 438.4 MB, free: 5.363 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002756/0.3264, allocations: 1.825 MB / 440.2 MB, free: 4.301 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007178/0.3271, allocations: 0.4963 MB / 440.7 MB, free: 3.965 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00102/0.3281, allocations: 420.3 kB / 441.1 MB, free: 3.867 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.568e-05/0.3282, allocations: 9.125 kB / 441.1 MB, free: 3.863 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004934/0.3287, allocations: 304.9 kB / 441.4 MB, free: 3.676 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 1.513e-06/0.3287, allocations: 0 / 441.4 MB, free: 3.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.004074/0.3327, allocations: 1.294 MB / 442.7 MB, free: 3.273 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.97e-05/0.3328, allocations: 242.9 kB / 442.9 MB, free: 2.988 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004941/0.3333, allocations: 434.5 kB / 443.4 MB, free: 2.781 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.436e-05/0.3333, allocations: 37.89 kB / 443.4 MB, free: 2.742 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.3335, allocations: 311.6 kB / 443.7 MB, free: 2.492 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.365e-05/0.3336, allocations: 151.4 kB / 443.8 MB, free: 2.375 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.3337, allocations: 95.2 kB / 443.9 MB, free: 2.316 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.873e-05/0.3338, allocations: 356.4 kB / 444.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000329/0.3341, allocations: 154.2 kB / 444.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000397/0.3345, allocations: 325.6 kB / 444.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006657/0.3352, allocations: 456.9 kB / 445.2 MB, free: 1.387 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.3352, allocations: 1.094 kB / 445.2 MB, free: 1.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001736/0.3369, allocations: 0.7739 MB / 446 MB, free: 1.102 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.337, allocations: 7.781 kB / 446 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.337, allocations: 6.938 kB / 446 MB, free: 1.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007085/0.3377, allocations: 217 kB / 446.2 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002812/0.338, allocations: 79.33 kB / 446.3 MB, free: 1.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005026/0.343, allocations: 3.127 MB / 449.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006652/0.3437, allocations: 84.73 kB / 449.5 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.555e-05/0.3437, allocations: 20.22 kB / 449.5 MB, free: 14.82 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: 3 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0003245/0.344, allocations: 182.5 kB / 449.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.337e-05/0.3441, allocations: 49.5 kB / 449.7 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001213/0.3442, allocations: 59.05 kB / 449.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.3443, allocations: 8.156 kB / 449.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3443, allocations: 0 / 449.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.3443, allocations: 3.078 kB / 449.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00262/0.3469, allocations: 1.283 MB / 451.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.3469, allocations: 1.984 kB / 451.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001834/0.3471, allocations: 35.5 kB / 451.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006946/0.3478, allocations: 213.8 kB / 451.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.748e-05/0.3478, allocations: 7.312 kB / 451.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00477/0.3526, allocations: 3.049 MB / 454.4 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.3526, allocations: 1.312 kB / 454.4 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00219/0.3548, allocations: 0.9317 MB / 455.3 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002188/0.355, allocations: 130.6 kB / 455.4 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.711e-05/0.3551, allocations: 14.05 kB / 455.5 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003817/0.3554, allocations: 37.39 kB / 455.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/0.3556, allocations: 40.59 kB / 455.5 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.86e-05/0.3556, allocations: 18.7 kB / 455.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004486/0.3561, allocations: 305 kB / 455.8 MB, free: 10.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3561, allocations: 0 / 455.8 MB, free: 10.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008325/0.3569, allocations: 187.5 kB / 456 MB, free: 10.94 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (rootMeanSquare.mean.x) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(3,18)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00258/0.3595, allocations: 1.484 MB / 457.5 MB, free: 9.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001712/0.3612, allocations: 0.6577 MB / 458.2 MB, free: 9.695 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3612, allocations: 8 kB / 458.2 MB, free: 9.688 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007628/0.362, allocations: 401.4 kB / 458.6 MB, free: 9.477 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006346/0.3626, allocations: 92.39 kB / 458.7 MB, free: 9.441 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008782/0.3714, allocations: 4.923 MB / 463.6 MB, free: 6.387 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005255/0.3719, allocations: 0.87 MB / 464.5 MB, free: 5.605 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002319/0.3721, allocations: 48.53 kB / 464.5 MB, free: 5.586 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002494/0.3724, allocations: 182.5 kB / 464.7 MB, free: 5.43 MB / 366.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3724, allocations: 0 / 464.7 MB, free: 5.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04518/0.4176, allocations: 12.58 MB / 477.3 MB, free: 12.17 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.28, allocations: 7.5 kB / 477.3 MB, free: 12.17 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable opAmp.v_out in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.csv. Warning: Get data of variable opAmp.v_out from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.801473352999892]