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.001971/0.001971, allocations: 103.5 kB / 20.97 MB, free: 3.449 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.001961/0.001961, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 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 1.573/1.573, allocations: 177 MB / 204.5 MB, free: 5.594 MB / 186.7 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: 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.944e-06/1.944e-06, allocations: 0 / 272.2 MB, free: 1.75 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.687e-05/2.881e-05, allocations: 6.312 kB / 272.2 MB, free: 1.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004964/0.004993, allocations: 2.751 MB / 275 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001615/0.006608, allocations: 0.6931 MB / 275.7 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002355/0.006843, allocations: 4 kB / 275.7 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001952/0.007039, allocations: 43.56 kB / 275.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003023/0.007341, allocations: 111.1 kB / 275.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003109/0.007652, allocations: 79.77 kB / 275.9 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005593/0.008211, allocations: 366.3 kB / 276.3 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001894/0.008401, allocations: 60.81 kB / 276.3 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004195/0.00882, allocations: 199.5 kB / 276.5 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000248/0.009068, allocations: 119.6 kB / 276.7 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.726e-05/0.009145, allocations: 28 kB / 276.7 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.747e-05/0.009213, allocations: 28 kB / 276.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.899e-05/0.009302, allocations: 67.69 kB / 276.8 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001752/0.009477, allocations: 107.8 kB / 276.9 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000518/0.009995, allocations: 338.9 kB / 277.2 MB, free: 12.75 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.01, allocations: 0 / 277.2 MB, free: 12.75 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.01, allocations: 0 / 277.2 MB, free: 12.75 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.312e-05/0.01001, allocations: 0 / 277.2 MB, free: 12.75 MB / 266.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.00136/0.01137, allocations: 0.6658 MB / 277.9 MB, free: 12.04 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.01141, allocations: 11.98 kB / 277.9 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001362/0.01155, allocations: 52.73 kB / 277.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004702/0.01202, allocations: 232 kB / 278.2 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.01204, allocations: 16.88 kB / 278.2 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.455e-05/0.01209, allocations: 24.38 kB / 278.2 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005841/0.01267, allocations: 293.7 kB / 278.5 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.01269, allocations: 192 / 278.5 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.054e-05/0.01272, allocations: 16.38 kB / 278.5 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.01273, allocations: 7.938 kB / 278.5 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005163/0.01324, allocations: 189.9 kB / 278.7 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001866/0.01511, allocations: 0.8707 MB / 279.6 MB, free: 10.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005686/0.01568, allocations: 183.1 kB / 279.8 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000216/0.01589, allocations: 75.66 kB / 279.8 MB, free: 9.965 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.526e-05/0.01593, allocations: 4.281 kB / 279.8 MB, free: 9.961 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004767/0.01641, allocations: 268.7 kB / 280.1 MB, free: 9.648 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.363e-06/0.01641, allocations: 0 / 280.1 MB, free: 9.648 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.001428/0.01784, allocations: 376.9 kB / 280.5 MB, free: 9.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/0.01796, allocations: 136.5 kB / 280.6 MB, free: 9.105 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004102/0.01837, allocations: 340.3 kB / 280.9 MB, free: 8.758 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.204e-05/0.01841, allocations: 29.7 kB / 281 MB, free: 8.723 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002311/0.01864, allocations: 238.9 kB / 281.2 MB, free: 8.484 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.321e-05/0.01872, allocations: 59.53 kB / 281.2 MB, free: 8.426 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.01884, allocations: 55.36 kB / 281.3 MB, free: 8.363 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003238/0.01916, allocations: 0.5157 MB / 281.8 MB, free: 7.836 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002479/0.01941, allocations: 97.67 kB / 281.9 MB, free: 7.734 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004201/0.01983, allocations: 295.4 kB / 282.2 MB, free: 7.379 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004852/0.02032, allocations: 239 kB / 282.4 MB, free: 7.113 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.02032, allocations: 0 / 282.4 MB, free: 7.113 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0008811/0.0212, allocations: 372.4 kB / 282.8 MB, free: 6.727 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.632e-05/0.02125, allocations: 41.67 kB / 282.8 MB, free: 6.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.02126, allocations: 4 kB / 282.8 MB, free: 6.676 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005549/0.02181, allocations: 83.61 kB / 282.9 MB, free: 6.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.02198, allocations: 39.91 kB / 283 MB, free: 6.551 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00276/0.02474, allocations: 2.117 MB / 285.1 MB, free: 4.305 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002838/0.02503, allocations: 40.05 kB / 285.1 MB, free: 4.266 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.925e-05/0.02506, allocations: 12 kB / 285.1 MB, free: 4.254 MB / 266.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.0002167/0.02527, allocations: 188.5 kB / 285.3 MB, free: 4.059 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.245e-05/0.02534, allocations: 31.84 kB / 285.3 MB, free: 4.027 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.601e-05/0.02541, allocations: 22.12 kB / 285.4 MB, free: 4 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.02541, allocations: 0 / 285.4 MB, free: 4 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.02542, allocations: 4 kB / 285.4 MB, free: 3.996 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.02543, allocations: 7.922 kB / 285.4 MB, free: 3.988 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003318/0.02576, allocations: 248.4 kB / 285.6 MB, free: 3.711 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.02576, allocations: 3.984 kB / 285.6 MB, free: 3.707 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.782e-05/0.02586, allocations: 12 kB / 285.6 MB, free: 3.695 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003885/0.02625, allocations: 83.61 kB / 285.7 MB, free: 3.609 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/0.02627, allocations: 11.98 kB / 285.7 MB, free: 3.598 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002409/0.02868, allocations: 2.113 MB / 287.8 MB, free: 1.352 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.02868, allocations: 3.938 kB / 287.8 MB, free: 1.348 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006937/0.02938, allocations: 290.7 kB / 288.1 MB, free: 1.039 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.29e-05/0.02944, allocations: 31.77 kB / 288.2 MB, free: 1.008 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.702e-05/0.02948, allocations: 4 kB / 288.2 MB, free: 1.004 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001895/0.02967, allocations: 23.98 kB / 288.2 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.611e-05/0.02976, allocations: 27.95 kB / 288.2 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.02977, allocations: 0 / 288.2 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002543/0.03003, allocations: 245.1 kB / 288.5 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03003, allocations: 0 / 288.5 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003596/0.03039, allocations: 71.89 kB / 288.5 MB, free: 0.6445 MB / 266.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.0001627/0.03055, allocations: 99.25 kB / 288.6 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009089/0.03146, allocations: 477.7 kB / 289.1 MB, free: 36 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.03146, allocations: 8 kB / 289.1 MB, free: 28 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000467/0.03193, allocations: 289.4 kB / 289.4 MB, free: 15.72 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.03226, allocations: 52.28 kB / 289.4 MB, free: 15.67 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.03371, allocations: 494.9 kB / 289.9 MB, free: 15.16 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001547/0.03387, allocations: 142.2 kB / 290.1 MB, free: 15 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001073/0.03397, allocations: 26.28 kB / 290.1 MB, free: 14.98 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.941e-05/0.03404, allocations: 24.5 kB / 290.1 MB, free: 14.95 MB / 282.7 MB Notification: Performance of SimCode: time 6.82e-07/0.03404, allocations: 0 / 290.1 MB, free: 14.95 MB / 282.7 MB Notification: Performance of Templates: time 0.009806/0.04385, allocations: 4.141 MB / 294.2 MB, free: 10.86 MB / 282.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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 240] 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.802998090046458]