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.0007966/0.0007966, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008197/0.0008197, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 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 0.9012/0.9012, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.633e-06/1.633e-06, allocations: 0 / 324.6 MB, free: 15.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.81e-05/1.974e-05, allocations: 2.984 kB / 324.6 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.003446/0.003466, allocations: 2.9 MB / 327.5 MB, free: 12.92 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009274/0.004393, allocations: 0.7518 MB / 328.2 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.004512, allocations: 4 kB / 328.2 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001411/0.004654, allocations: 55.44 kB / 328.3 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001548/0.004808, allocations: 130.9 kB / 328.4 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002186/0.005027, allocations: 99.88 kB / 328.5 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000319/0.005346, allocations: 473.9 kB / 329 MB, free: 11.41 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001744/0.00552, allocations: 99.39 kB / 329.1 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002936/0.005814, allocations: 275.3 kB / 329.3 MB, free: 11.05 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/0.005949, allocations: 135.6 kB / 329.5 MB, free: 10.92 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.021e-05/0.005989, allocations: 44 kB / 329.5 MB, free: 10.88 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.428e-05/0.006033, allocations: 44 kB / 329.5 MB, free: 10.83 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.333e-05/0.006086, allocations: 95.61 kB / 329.6 MB, free: 10.74 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.006198, allocations: 139.7 kB / 329.8 MB, free: 10.6 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003538/0.006552, allocations: 0.5063 MB / 330.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.006555, allocations: 0 / 330.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.006556, allocations: 7.938 kB / 330.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.006562, allocations: 0 / 330.3 MB, free: 10.09 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0007701/0.007332, allocations: 0.6276 MB / 330.9 MB, free: 9.418 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.007365, allocations: 12.03 kB / 330.9 MB, free: 9.406 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.653e-05/0.007412, allocations: 70.72 kB / 331 MB, free: 9.328 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.974e-05/0.007462, allocations: 40.7 kB / 331 MB, free: 9.289 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003657/0.007827, allocations: 252.7 kB / 331.3 MB, free: 9.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.007845, allocations: 24.97 kB / 331.3 MB, free: 8.996 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.524e-05/0.00788, allocations: 32.38 kB / 331.3 MB, free: 8.965 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004004/0.008281, allocations: 379.7 kB / 331.7 MB, free: 8.57 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.00829, allocations: 7.938 kB / 331.7 MB, free: 8.562 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.008311, allocations: 12 kB / 331.7 MB, free: 8.551 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.008317, allocations: 4 kB / 331.7 MB, free: 8.547 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003753/0.008692, allocations: 274.5 kB / 332 MB, free: 8.277 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001265/0.009957, allocations: 1.096 MB / 333.1 MB, free: 7.102 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003168/0.01027, allocations: 206.4 kB / 333.3 MB, free: 6.891 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.01042, allocations: 92.8 kB / 333.4 MB, free: 6.797 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.01044, allocations: 4.312 kB / 333.4 MB, free: 6.793 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002818/0.01072, allocations: 271.7 kB / 333.7 MB, free: 6.48 MB / 298.7 MB Notification: Performance of pre-optimization done (n=18): time 1.032e-06/0.01072, allocations: 3.938 kB / 333.7 MB, free: 6.477 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.0008932/0.01161, allocations: 464.8 kB / 334.1 MB, free: 6.016 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.01166, allocations: 128.5 kB / 334.2 MB, free: 5.859 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.01186, allocations: 312.1 kB / 334.5 MB, free: 5.543 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.01188, allocations: 29.7 kB / 334.6 MB, free: 5.508 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.244e-05/0.01197, allocations: 212.3 kB / 334.8 MB, free: 5.297 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.505e-05/0.01201, allocations: 67.47 kB / 334.8 MB, free: 5.23 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.995e-05/0.01207, allocations: 53.69 kB / 334.9 MB, free: 5.172 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.736e-05/0.01215, allocations: 342.8 kB / 335.2 MB, free: 4.828 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.01232, allocations: 129.9 kB / 335.4 MB, free: 4.695 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000234/0.01256, allocations: 308.4 kB / 335.7 MB, free: 4.328 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003242/0.01288, allocations: 295.5 kB / 336 MB, free: 4 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.01288, allocations: 3.984 kB / 336 MB, free: 3.996 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001018/0.0139, allocations: 465.4 kB / 336.4 MB, free: 3.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.995e-05/0.01393, allocations: 33.69 kB / 336.4 MB, free: 3.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.01394, allocations: 4 kB / 336.4 MB, free: 3.477 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000221/0.01416, allocations: 72.8 kB / 336.5 MB, free: 3.402 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.0143, allocations: 59.92 kB / 336.6 MB, free: 3.344 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001219/0.01552, allocations: 1.684 MB / 338.3 MB, free: 1.539 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.01567, allocations: 51.75 kB / 338.3 MB, free: 1.488 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.01568, allocations: 12 kB / 338.3 MB, free: 1.477 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,derivative.opAmp.satNeg,derivative.opAmp.satPos,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * 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.0001059/0.01579, allocations: 157.8 kB / 338.5 MB, free: 1.312 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.552e-05/0.01582, allocations: 27.81 kB / 338.5 MB, free: 1.285 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.193e-05/0.01585, allocations: 38.08 kB / 338.5 MB, free: 1.242 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.01585, allocations: 4 kB / 338.5 MB, free: 1.238 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.01585, allocations: 192 / 338.5 MB, free: 1.238 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.01585, allocations: 0 / 338.5 MB, free: 1.238 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.01603, allocations: 284.6 kB / 338.8 MB, free: 0.918 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.01604, allocations: 3.984 kB / 338.8 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.017e-05/0.01613, allocations: 27.97 kB / 338.9 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001555/0.01628, allocations: 76.78 kB / 338.9 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.0163, allocations: 11.94 kB / 338.9 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001075/0.01737, allocations: 1.688 MB / 340.6 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.01737, allocations: 7.969 kB / 340.6 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005813/0.01796, allocations: 431.6 kB / 341.1 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.107e-05/0.01799, allocations: 35.77 kB / 341.1 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.01801, allocations: 0 / 341.1 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.01811, allocations: 32.16 kB / 341.1 MB, free: 14.47 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.893e-05/0.01817, allocations: 32.02 kB / 341.2 MB, free: 14.44 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.01818, allocations: 11.98 kB / 341.2 MB, free: 14.43 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001314/0.01832, allocations: 207.1 kB / 341.4 MB, free: 14.23 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.01832, allocations: 3.938 kB / 341.4 MB, free: 14.22 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002221/0.01854, allocations: 99.77 kB / 341.5 MB, free: 14.12 MB / 314.7 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: 5 ($whenCondition1,derivative.opAmp.satPos,derivative.opAmp.satNeg,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 (13): * Single equations (assignments): 10 * 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.0007697/0.01931, allocations: 0.9638 MB / 342.4 MB, free: 13.13 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005164/0.01982, allocations: 459.5 kB / 342.9 MB, free: 12.65 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.01983, allocations: 0 / 342.9 MB, free: 12.65 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002205/0.02005, allocations: 235.7 kB / 343.1 MB, free: 12.41 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.02027, allocations: 64.55 kB / 343.2 MB, free: 12.34 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003613/0.02388, allocations: 3.402 MB / 346.6 MB, free: 8.762 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.518e-05/0.02397, allocations: 165.1 kB / 346.7 MB, free: 8.582 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.834e-05/0.02405, allocations: 30.95 kB / 346.8 MB, free: 8.547 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.02416, allocations: 104.5 kB / 346.9 MB, free: 8.445 MB / 314.7 MB Notification: Performance of SimCode: time 4.31e-07/0.02416, allocations: 0 / 346.9 MB, free: 8.445 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02219/0.04635, allocations: 8.588 MB / 355.5 MB, free: 16 kB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.526/7.572, allocations: 0 / 355.5 MB, free: 16 kB / 314.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.241263162344694]