Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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.001351/0.001351, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.001481/0.001481, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.464/1.464, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.InvertingAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001824/0.001824, allocations: 67.89 kB / 373.4 MB, free: 10.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1119, allocations: 53.32 MB / 426.7 MB, free: 4.945 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.004391/0.1163, allocations: 2.956 MB / 429.7 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.1177, allocations: 0.7674 MB / 430.4 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001468/0.1179, allocations: 7.938 kB / 430.4 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001708/0.118, allocations: 43.58 kB / 430.5 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002092/0.1182, allocations: 107.1 kB / 430.6 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003422/0.1186, allocations: 115.8 kB / 430.7 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005408/0.1191, allocations: 418.5 kB / 431.1 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002183/0.1193, allocations: 95.25 kB / 431.2 MB, free: 432 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001991/0.1195, allocations: 159.4 kB / 431.4 MB, free: 272 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002091/0.1198, allocations: 167.2 kB / 431.5 MB, free: 104 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.839e-05/0.1198, allocations: 40 kB / 431.6 MB, free: 64 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.834e-05/0.1199, allocations: 40 kB / 431.6 MB, free: 24 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2231/0.343, allocations: 74.98 kB / 431.7 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002715/0.3432, allocations: 176.8 kB / 431.8 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006126/0.3439, allocations: 457.2 kB / 432.3 MB, free: 8.023 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.3439, allocations: 0.7188 kB / 432.3 MB, free: 8.023 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3439, allocations: 0 / 432.3 MB, free: 8.023 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.846e-06/0.3439, allocations: 0.625 kB / 432.3 MB, free: 8.023 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001392/0.3453, allocations: 0.6859 MB / 433 MB, free: 7.523 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/0.3453, allocations: 9.75 kB / 433 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.194e-05/0.3454, allocations: 64.16 kB / 433 MB, free: 7.484 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.217e-05/0.3455, allocations: 39.05 kB / 433.1 MB, free: 7.465 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004908/0.346, allocations: 297.3 kB / 433.4 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.858e-05/0.346, allocations: 19.28 kB / 433.4 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.982e-05/0.346, allocations: 23.47 kB / 433.4 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007437/0.3468, allocations: 333.1 kB / 433.7 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.3468, allocations: 1.094 kB / 433.7 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.981e-05/0.3468, allocations: 12.33 kB / 433.8 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.3468, allocations: 5.656 kB / 433.8 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007005/0.3475, allocations: 291 kB / 434 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001639/0.3492, allocations: 1.144 MB / 435.2 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007772/0.35, allocations: 243.9 kB / 435.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003141/0.3503, allocations: 100.4 kB / 435.5 MB, free: 6.621 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.3503, allocations: 4.969 kB / 435.5 MB, free: 6.617 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000479/0.3508, allocations: 177.5 kB / 435.7 MB, free: 6.547 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.733e-06/0.3508, allocations: 0 / 435.7 MB, free: 6.547 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002268/0.353, allocations: 0.6611 MB / 436.4 MB, free: 6.383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.3531, allocations: 108.6 kB / 436.5 MB, free: 6.258 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003098/0.3534, allocations: 280.6 kB / 436.7 MB, free: 6.152 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.3534, allocations: 31.2 kB / 436.8 MB, free: 6.121 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.3535, allocations: 209.6 kB / 437 MB, free: 5.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/0.3536, allocations: 48.52 kB / 437 MB, free: 5.949 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.454e-05/0.3537, allocations: 50.66 kB / 437.1 MB, free: 5.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.373e-05/0.3537, allocations: 331.8 kB / 437.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003305/0.3541, allocations: 104.4 kB / 437.5 MB, free: 5.617 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003642/0.3544, allocations: 214.3 kB / 437.7 MB, free: 5.496 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006274/0.355, allocations: 308.2 kB / 438 MB, free: 5.363 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.355, allocations: 1.094 kB / 438 MB, free: 5.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001176/0.3562, allocations: 482.4 kB / 438.5 MB, free: 5.262 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.445e-05/0.3563, allocations: 34.08 kB / 438.5 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.3563, allocations: 3.125 kB / 438.5 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003669/0.3566, allocations: 85.81 kB / 438.6 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000204/0.3568, allocations: 46.7 kB / 438.6 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002284/0.3591, allocations: 1.995 MB / 440.6 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003652/0.3595, allocations: 60.61 kB / 440.7 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.483e-05/0.3595, allocations: 12.62 kB / 440.7 MB, free: 3.68 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: 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001607/0.3597, allocations: 150.9 kB / 440.9 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.3597, allocations: 23.98 kB / 440.9 MB, free: 3.551 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.181e-05/0.3598, allocations: 26.47 kB / 440.9 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3598, allocations: 5.219 kB / 440.9 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3598, allocations: 5.25 kB / 440.9 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3598, allocations: 0.75 kB / 440.9 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002896/0.3601, allocations: 329.2 kB / 441.2 MB, free: 3.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3601, allocations: 0 / 441.2 MB, free: 3.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001329/0.3602, allocations: 32 kB / 441.3 MB, free: 3.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002648/0.3605, allocations: 81.7 kB / 441.4 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.3605, allocations: 1.391 kB / 441.4 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001881/0.3624, allocations: 1.809 MB / 443.2 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.3624, allocations: 0.5625 kB / 443.2 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009787/0.3633, allocations: 372.4 kB / 443.5 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.346e-05/0.3634, allocations: 109.2 kB / 443.6 MB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.834e-05/0.3634, allocations: 2.969 kB / 443.6 MB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002287/0.3637, allocations: 32.86 kB / 443.7 MB, free: 1.465 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.129e-05/0.3637, allocations: 22.48 kB / 443.7 MB, free: 1.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.3638, allocations: 3.766 kB / 443.7 MB, free: 1.457 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000187/0.3639, allocations: 204.4 kB / 443.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3639, allocations: 0 / 443.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000418/0.3644, allocations: 83.48 kB / 444 MB, free: 1.32 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 (9): * Single equations (assignments): 6 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001304/0.3657, allocations: 0.9035 MB / 444.9 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009844/0.3667, allocations: 424.5 kB / 445.3 MB, free: 416 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3667, allocations: 1.062 kB / 445.3 MB, free: 416 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004274/0.3671, allocations: 234 kB / 445.5 MB, free: 268 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.3674, allocations: 49.86 kB / 445.6 MB, free: 256 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006619/0.3741, allocations: 3.108 MB / 448.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006186/0.3747, allocations: 0.7553 MB / 449.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001935/0.3749, allocations: 26.77 kB / 449.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/0.375, allocations: 82.47 kB / 449.5 MB, free: 13.53 MB / 366.1 MB Notification: Performance of SimCode: time 1.984e-06/0.375, allocations: 3.938 kB / 449.5 MB, free: 13.53 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03881/0.4138, allocations: 6.928 MB / 456.5 MB, free: 11.78 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.28, allocations: 16.88 kB / 456.5 MB, free: 11.76 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmplifier_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmplifier.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmplifier/InvertingAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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.759387821890414]