Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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.0009048/0.0009048, allocations: 88.28 kB / 21.43 MB, free: 3.137 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.005311/0.005311, allocations: 155.5 kB / 24.7 MB, free: 8.895 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.8641/0.8641, allocations: 177 MB / 204.9 MB, free: 5.758 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: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 325.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.93e-05/3.123e-05, allocations: 2.281 kB / 325.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.003007/0.003038, allocations: 2.627 MB / 328.5 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009653/0.004004, allocations: 0.67 MB / 329.1 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.004126, allocations: 4 kB / 329.1 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001326/0.004258, allocations: 39.58 kB / 329.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001505/0.004409, allocations: 103.1 kB / 329.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002448/0.004653, allocations: 95.73 kB / 329.4 MB, free: 11.79 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003174/0.004971, allocations: 370.2 kB / 329.7 MB, free: 11.42 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001759/0.005147, allocations: 48.91 kB / 329.8 MB, free: 11.38 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001832/0.00533, allocations: 195.5 kB / 330 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.005464, allocations: 119.7 kB / 330.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.039e-05/0.005504, allocations: 31.94 kB / 330.1 MB, free: 11.04 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.932e-05/0.005533, allocations: 32 kB / 330.1 MB, free: 11 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.285e-05/0.005586, allocations: 67.67 kB / 330.2 MB, free: 10.94 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.49e-05/0.005681, allocations: 111.7 kB / 330.3 MB, free: 10.83 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003227/0.006004, allocations: 335 kB / 330.6 MB, free: 10.5 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.006007, allocations: 0 / 330.6 MB, free: 10.5 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.006009, allocations: 0 / 330.6 MB, free: 10.5 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.006018, allocations: 3.938 kB / 330.6 MB, free: 10.5 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.000826/0.006844, allocations: 0.5507 MB / 331.2 MB, free: 9.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.006888, allocations: 19.97 kB / 331.2 MB, free: 9.891 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.09e-05/0.006949, allocations: 32.75 kB / 331.2 MB, free: 9.859 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003202/0.007269, allocations: 221.2 kB / 331.5 MB, free: 9.617 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.007287, allocations: 12.88 kB / 331.5 MB, free: 9.605 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.73e-05/0.007315, allocations: 28.36 kB / 331.5 MB, free: 9.578 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003767/0.007691, allocations: 321.6 kB / 331.8 MB, free: 9.242 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.007702, allocations: 192 / 331.8 MB, free: 9.242 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/0.007723, allocations: 12.38 kB / 331.8 MB, free: 9.23 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.465e-06/0.007731, allocations: 7.938 kB / 331.8 MB, free: 9.223 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003311/0.008062, allocations: 217.8 kB / 332.1 MB, free: 9.012 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009356/0.008998, allocations: 0.766 MB / 332.8 MB, free: 8.188 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003811/0.009379, allocations: 203.1 kB / 333 MB, free: 7.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.009513, allocations: 81.08 kB / 333.1 MB, free: 7.898 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.009536, allocations: 11.92 kB / 333.1 MB, free: 7.887 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000565/0.0101, allocations: 254.7 kB / 333.4 MB, free: 7.598 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.0101, allocations: 0 / 333.4 MB, free: 7.598 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009214/0.01102, allocations: 445.9 kB / 333.8 MB, free: 7.152 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.884e-05/0.01108, allocations: 132.5 kB / 333.9 MB, free: 6.992 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.01127, allocations: 253.9 kB / 334.2 MB, free: 6.727 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.01129, allocations: 33.64 kB / 334.2 MB, free: 6.688 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.334e-05/0.01137, allocations: 184.2 kB / 334.4 MB, free: 6.504 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/0.0114, allocations: 51.58 kB / 334.4 MB, free: 6.453 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.665e-05/0.01146, allocations: 49.66 kB / 334.5 MB, free: 6.398 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.167e-05/0.01154, allocations: 334.8 kB / 334.8 MB, free: 6.062 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.01169, allocations: 121.6 kB / 334.9 MB, free: 5.938 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001924/0.01188, allocations: 263.3 kB / 335.2 MB, free: 5.625 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002857/0.01217, allocations: 238.8 kB / 335.4 MB, free: 5.367 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.01217, allocations: 0 / 335.4 MB, free: 5.367 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004864/0.01266, allocations: 397.5 kB / 335.8 MB, free: 4.957 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.357e-05/0.01269, allocations: 37.64 kB / 335.8 MB, free: 4.914 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.0127, allocations: 0 / 335.8 MB, free: 4.914 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00026/0.01296, allocations: 72.78 kB / 335.9 MB, free: 4.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.912e-05/0.01306, allocations: 47.94 kB / 336 MB, free: 4.793 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/0.01446, allocations: 1.61 MB / 337.6 MB, free: 3.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001494/0.01461, allocations: 43.86 kB / 337.6 MB, free: 3.027 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.722e-05/0.01463, allocations: 8 kB / 337.6 MB, free: 3.02 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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,opAmp.satNeg,opAmp.satPos,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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.0001133/0.01474, allocations: 145.7 kB / 337.8 MB, free: 2.867 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/0.01476, allocations: 27.92 kB / 337.8 MB, free: 2.84 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.416e-05/0.01479, allocations: 22.12 kB / 337.8 MB, free: 2.82 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.01479, allocations: 7.984 kB / 337.8 MB, free: 2.812 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.01479, allocations: 0 / 337.8 MB, free: 2.812 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.0148, allocations: 0 / 337.8 MB, free: 2.812 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001606/0.01496, allocations: 209.1 kB / 338 MB, free: 2.578 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.01496, allocations: 0 / 338 MB, free: 2.578 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.266e-05/0.01502, allocations: 19.98 kB / 338 MB, free: 2.559 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001564/0.01518, allocations: 76.78 kB / 338.1 MB, free: 2.48 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.01519, allocations: 4 kB / 338.1 MB, free: 2.477 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001077/0.01627, allocations: 1.626 MB / 339.7 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.01627, allocations: 3.938 kB / 339.8 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004034/0.01667, allocations: 303.3 kB / 340 MB, free: 432 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.969e-05/0.0167, allocations: 23.8 kB / 340.1 MB, free: 408 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.163e-05/0.01672, allocations: 7.984 kB / 340.1 MB, free: 400 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.01682, allocations: 27.97 kB / 340.1 MB, free: 372 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.355e-05/0.01689, allocations: 23.95 kB / 340.1 MB, free: 348 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.0169, allocations: 8 kB / 340.1 MB, free: 340 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000116/0.01701, allocations: 177.2 kB / 340.3 MB, free: 168 kB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01701, allocations: 4 kB / 340.3 MB, free: 164 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002142/0.01723, allocations: 79.89 kB / 340.4 MB, free: 84 kB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,opAmp.satPos,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 (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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001314/0.01736, allocations: 103.2 kB / 340.5 MB, free: 15.97 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005359/0.0179, allocations: 427.4 kB / 340.9 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.0179, allocations: 4 kB / 340.9 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002104/0.01811, allocations: 230.4 kB / 341.1 MB, free: 15.28 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.01833, allocations: 43.83 kB / 341.2 MB, free: 15.24 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.01934, allocations: 0.5748 MB / 341.8 MB, free: 14.63 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.388e-05/0.01943, allocations: 142.2 kB / 341.9 MB, free: 14.47 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.201e-05/0.01948, allocations: 20.5 kB / 341.9 MB, free: 14.45 MB / 314.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01948, allocations: 0 / 341.9 MB, free: 14.45 MB / 314.7 MB Notification: Performance of Templates: time 0.004286/0.02377, allocations: 4.383 MB / 346.3 MB, free: 10.07 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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: 4.334177655167878]