Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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.001679/0.001679, allocations: 118.7 kB / 18.5 MB, free: 4.602 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.001925/0.001925, allocations: 210.5 kB / 21.46 MB, free: 1.648 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.439/1.439, allocations: 230.2 MB / 254.5 MB, free: 15.27 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.HighPass,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 68.08 kB / 373.4 MB, free: 10.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1106, allocations: 53.32 MB / 426.7 MB, free: 4.961 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.005482/0.1161, allocations: 3.098 MB / 429.8 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002068/0.1182, allocations: 0.8064 MB / 430.6 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004002/0.1186, allocations: 4 kB / 430.6 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002781/0.1188, allocations: 55.44 kB / 430.7 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004433/0.1193, allocations: 123 kB / 430.8 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004334/0.1197, allocations: 123.8 kB / 430.9 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006861/0.1204, allocations: 454.3 kB / 431.4 MB, free: 296 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002519/0.1206, allocations: 94.94 kB / 431.4 MB, free: 196 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004547/0.1211, allocations: 187.3 kB / 431.6 MB, free: 8 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.214/0.3351, allocations: 179.2 kB / 431.8 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001339/0.3352, allocations: 44.25 kB / 431.8 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.332e-05/0.3353, allocations: 43.81 kB / 431.9 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.544e-05/0.3354, allocations: 93.67 kB / 432 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002145/0.3356, allocations: 193.8 kB / 432.2 MB, free: 7.902 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005548/0.3361, allocations: 0.4903 MB / 432.7 MB, free: 7.836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3361, allocations: 0 / 432.7 MB, free: 7.836 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3361, allocations: 2.188 kB / 432.7 MB, free: 7.836 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.542e-05/0.3362, allocations: 0 / 432.7 MB, free: 7.836 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001259/0.3374, allocations: 0.7103 MB / 433.4 MB, free: 7.332 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.3375, allocations: 11.94 kB / 433.4 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.715e-05/0.3375, allocations: 67.23 kB / 433.5 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.303e-05/0.3376, allocations: 39.27 kB / 433.5 MB, free: 7.273 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000379/0.338, allocations: 314.3 kB / 433.8 MB, free: 7.047 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/0.338, allocations: 19.12 kB / 433.8 MB, free: 7.047 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.478e-05/0.3381, allocations: 31.94 kB / 433.8 MB, free: 7.047 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006235/0.3387, allocations: 349 kB / 434.2 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.3387, allocations: 0 / 434.2 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.833e-05/0.3387, allocations: 11.44 kB / 434.2 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.3387, allocations: 8.031 kB / 434.2 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007273/0.3395, allocations: 309.2 kB / 434.5 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001919/0.3414, allocations: 1.283 MB / 435.8 MB, free: 6.406 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006455/0.342, allocations: 215.8 kB / 436 MB, free: 6.383 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003179/0.3423, allocations: 112.8 kB / 436.1 MB, free: 6.371 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.3424, allocations: 2.312 kB / 436.1 MB, free: 6.371 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004659/0.3428, allocations: 193.9 kB / 436.3 MB, free: 6.297 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.403e-06/0.3428, allocations: 0 / 436.3 MB, free: 6.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002289/0.3451, allocations: 0.6895 MB / 437 MB, free: 6.129 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.3452, allocations: 105.8 kB / 437.1 MB, free: 6.004 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003222/0.3455, allocations: 297.5 kB / 437.4 MB, free: 5.891 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.3455, allocations: 32.17 kB / 437.4 MB, free: 5.859 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.3456, allocations: 212.2 kB / 437.6 MB, free: 5.719 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.3457, allocations: 51.8 kB / 437.7 MB, free: 5.688 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.771e-05/0.3458, allocations: 56.56 kB / 437.7 MB, free: 5.668 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.396e-05/0.3458, allocations: 336.9 kB / 438.1 MB, free: 5.352 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003441/0.3462, allocations: 115.2 kB / 438.2 MB, free: 5.348 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003622/0.3465, allocations: 215.3 kB / 438.4 MB, free: 5.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006486/0.3472, allocations: 325.9 kB / 438.7 MB, free: 5.098 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.3472, allocations: 1.797 kB / 438.7 MB, free: 5.098 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00116/0.3483, allocations: 486.4 kB / 439.2 MB, free: 5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.308e-05/0.3484, allocations: 42.28 kB / 439.2 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.3484, allocations: 3.875 kB / 439.2 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003717/0.3487, allocations: 82.78 kB / 439.3 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002474/0.349, allocations: 58.5 kB / 439.4 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002243/0.3512, allocations: 1.994 MB / 441.4 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003514/0.3516, allocations: 57.42 kB / 441.4 MB, free: 3.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.568e-05/0.3516, allocations: 10.06 kB / 441.4 MB, free: 3.281 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 (26): * Single equations (assignments): 24 * 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.0001369/0.3518, allocations: 157.6 kB / 441.6 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.742e-05/0.3518, allocations: 27.88 kB / 441.6 MB, free: 3.125 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.373e-05/0.3518, allocations: 28.86 kB / 441.6 MB, free: 3.102 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3518, allocations: 5.375 kB / 441.6 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3519, allocations: 4.875 kB / 441.6 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.3519, allocations: 2.734 kB / 441.6 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002985/0.3522, allocations: 334.1 kB / 442 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3522, allocations: 0 / 442 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001835/0.3523, allocations: 32.61 kB / 442 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000271/0.3526, allocations: 91.77 kB / 442.1 MB, free: 2.816 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.3526, allocations: 5.734 kB / 442.1 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001927/0.3546, allocations: 1.814 MB / 443.9 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3546, allocations: 0.6562 kB / 443.9 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001409/0.356, allocations: 498.2 kB / 444.4 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.178e-05/0.356, allocations: 106.7 kB / 444.5 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.899e-05/0.3561, allocations: 7.172 kB / 444.5 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002411/0.3563, allocations: 42.7 kB / 444.6 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.057e-05/0.3564, allocations: 18.62 kB / 444.6 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.3564, allocations: 5 kB / 444.6 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001989/0.3566, allocations: 207.8 kB / 444.8 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3566, allocations: 0 / 444.8 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004322/0.357, allocations: 85.81 kB / 444.9 MB, free: 0.8359 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (derivative.c.v) * 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 (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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001521/0.3586, allocations: 1.043 MB / 445.9 MB, free: 116 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001012/0.3596, allocations: 447 kB / 446.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3596, allocations: 0.7188 kB / 446.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004806/0.36, allocations: 230.3 kB / 446.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/0.3604, allocations: 60.81 kB / 446.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006007/0.3664, allocations: 3.328 MB / 450 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003978/0.3668, allocations: 0.7679 MB / 450.7 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001406/0.367, allocations: 30.61 kB / 450.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/0.3671, allocations: 89.25 kB / 450.8 MB, free: 12.87 MB / 366.1 MB Notification: Performance of SimCode: time 8.51e-07/0.3671, allocations: 0 / 450.8 MB, free: 12.87 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05371/0.4208, allocations: 7.431 MB / 458.3 MB, free: 10.63 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/12.54, allocations: 7.047 kB / 458.3 MB, free: 10.62 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_HighPass_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_HighPass.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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.976926181931049]