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.001239/0.001239, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001308/0.001308, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.411/1.411, 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.001495/0.001495, allocations: 51.92 kB / 373 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09308/0.09457, allocations: 53.33 MB / 426.4 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.005676/0.1002, allocations: 4.503 MB / 430.9 MB, free: 240 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2044/0.3046, allocations: 1.274 MB / 432.1 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003709/0.305, allocations: 15.75 kB / 432.1 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004444/0.3054, allocations: 151 kB / 432.3 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004173/0.3059, allocations: 207 kB / 432.5 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005003/0.3064, allocations: 217.2 kB / 432.7 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006988/0.3071, allocations: 0.7684 MB / 433.5 MB, free: 7.316 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002923/0.3073, allocations: 195.9 kB / 433.7 MB, free: 7.289 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000368/0.3077, allocations: 305.8 kB / 434 MB, free: 7.227 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003201/0.308, allocations: 325 kB / 434.3 MB, free: 7.152 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.081e-05/0.3081, allocations: 65.22 kB / 434.3 MB, free: 7.152 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001332/0.3083, allocations: 70.66 kB / 434.4 MB, free: 7.152 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.3084, allocations: 157.7 kB / 434.6 MB, free: 7.117 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002425/0.3086, allocations: 340.8 kB / 434.9 MB, free: 7.016 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007925/0.3094, allocations: 0.7551 MB / 435.7 MB, free: 6.887 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3094, allocations: 0.7031 kB / 435.7 MB, free: 6.887 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3094, allocations: 0 / 435.7 MB, free: 6.887 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.608e-05/0.3094, allocations: 3.781 kB / 435.7 MB, free: 6.887 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.001691/0.3111, allocations: 0.9717 MB / 436.6 MB, free: 6.246 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.3112, allocations: 9.547 kB / 436.6 MB, free: 6.246 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000104/0.3113, allocations: 103.4 kB / 436.7 MB, free: 6.168 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002913/0.3116, allocations: 102.9 kB / 436.8 MB, free: 6.121 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005105/0.3121, allocations: 423.6 kB / 437.3 MB, free: 5.797 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.404e-05/0.3121, allocations: 42.44 kB / 437.3 MB, free: 5.781 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.156e-05/0.3122, allocations: 60.89 kB / 437.4 MB, free: 5.758 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009698/0.3131, allocations: 0.5491 MB / 437.9 MB, free: 5.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.3132, allocations: 1.156 kB / 437.9 MB, free: 5.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.828e-05/0.3132, allocations: 21.56 kB / 437.9 MB, free: 5.504 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.524e-05/0.3132, allocations: 17.73 kB / 437.9 MB, free: 5.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008721/0.3141, allocations: 418.2 kB / 438.4 MB, free: 5.367 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002758/0.3169, allocations: 1.825 MB / 440.2 MB, free: 4.305 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007833/0.3176, allocations: 0.4939 MB / 440.7 MB, free: 3.969 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001033/0.3187, allocations: 417.7 kB / 441.1 MB, free: 3.875 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.516e-05/0.3187, allocations: 9.953 kB / 441.1 MB, free: 3.871 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005019/0.3192, allocations: 303.4 kB / 441.4 MB, free: 3.684 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 1.824e-06/0.3192, allocations: 4 kB / 441.4 MB, free: 3.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.004032/0.3232, allocations: 1.294 MB / 442.7 MB, free: 3.277 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/0.3233, allocations: 245.7 kB / 442.9 MB, free: 2.988 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004902/0.3238, allocations: 436.5 kB / 443.4 MB, free: 2.781 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.071e-05/0.3238, allocations: 31.8 kB / 443.4 MB, free: 2.746 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.324, allocations: 316.7 kB / 443.7 MB, free: 2.492 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.812e-05/0.3241, allocations: 150.8 kB / 443.8 MB, free: 2.375 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/0.3242, allocations: 95.89 kB / 443.9 MB, free: 2.316 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.428e-05/0.3243, allocations: 357 kB / 444.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003271/0.3246, allocations: 149.3 kB / 444.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004016/0.325, allocations: 323 kB / 444.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006702/0.3257, allocations: 457.5 kB / 445.2 MB, free: 1.391 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.3257, allocations: 1.219 kB / 445.2 MB, free: 1.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001726/0.3274, allocations: 0.7734 MB / 446 MB, free: 1.105 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.3274, allocations: 8.891 kB / 446 MB, free: 1.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.3274, allocations: 3.625 kB / 446 MB, free: 1.105 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006789/0.3281, allocations: 215.4 kB / 446.2 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002797/0.3284, allocations: 74.28 kB / 446.3 MB, free: 1.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00494/0.3333, allocations: 3.135 MB / 449.4 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006175/0.3339, allocations: 84.78 kB / 449.5 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.171e-05/0.334, allocations: 20.12 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.0003313/0.3343, allocations: 187.3 kB / 449.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.642e-05/0.3344, allocations: 49.22 kB / 449.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000123/0.3345, allocations: 60.56 kB / 449.8 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.3345, allocations: 4.25 kB / 449.8 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3345, allocations: 4 kB / 449.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.3346, allocations: 2.203 kB / 449.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002579/0.3371, allocations: 1.281 MB / 451.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.309e-06/0.3371, allocations: 1.156 kB / 451.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001768/0.3373, allocations: 31.91 kB / 451.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006725/0.338, allocations: 214.4 kB / 451.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.657e-05/0.338, allocations: 11.05 kB / 451.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0046/0.3426, allocations: 3.054 MB / 454.4 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3426, allocations: 0.6094 kB / 454.4 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002109/0.3447, allocations: 0.9327 MB / 455.3 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001893/0.3449, allocations: 130 kB / 455.4 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.271e-05/0.345, allocations: 13.09 kB / 455.5 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003746/0.3454, allocations: 38.84 kB / 455.5 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.3455, allocations: 35.53 kB / 455.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.808e-05/0.3455, allocations: 19.62 kB / 455.6 MB, free: 11.13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004227/0.3459, allocations: 307.2 kB / 455.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3459, allocations: 0 / 455.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007547/0.3467, allocations: 186 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.002415/0.3491, allocations: 1.487 MB / 457.5 MB, free: 9.984 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001624/0.3507, allocations: 0.658 MB / 458.2 MB, free: 9.699 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.3507, allocations: 8.125 kB / 458.2 MB, free: 9.691 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007191/0.3514, allocations: 397.1 kB / 458.6 MB, free: 9.484 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000555/0.352, allocations: 93.3 kB / 458.7 MB, free: 9.445 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00802/0.36, allocations: 4.93 MB / 463.6 MB, free: 6.387 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005032/0.3605, allocations: 0.861 MB / 464.5 MB, free: 5.613 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002087/0.3607, allocations: 50.52 kB / 464.5 MB, free: 5.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000238/0.361, allocations: 190.3 kB / 464.7 MB, free: 5.426 MB / 366.1 MB Notification: Performance of SimCode: time 8.21e-07/0.361, allocations: 0 / 464.7 MB, free: 5.426 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04687/0.4078, allocations: 12.56 MB / 477.3 MB, free: 12.19 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.31, allocations: 8.062 kB / 477.3 MB, free: 12.18 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.680244992021471]