Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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.001411/0.001411, allocations: 84.8 kB / 20.68 MB, free: 1.035 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.001906/0.001906, allocations: 158 kB / 23.95 MB, free: 4.168 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.624/1.624, allocations: 177 MB / 204.1 MB, free: 9.145 MB / 190.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: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 325.1 MB, free: 464 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.36e-05/2.499e-05, allocations: 5.516 kB / 325.1 MB, free: 460 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004539/0.004564, allocations: 2.624 MB / 327.7 MB, free: 14.67 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00158/0.006144, allocations: 0.6715 MB / 328.4 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002807/0.006425, allocations: 4.25 kB / 328.4 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002153/0.00664, allocations: 44.55 kB / 328.4 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003518/0.006992, allocations: 99.41 kB / 328.5 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003854/0.007377, allocations: 99.16 kB / 328.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007698/0.008147, allocations: 364.8 kB / 329 MB, free: 13.85 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002076/0.008354, allocations: 54.8 kB / 329 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004016/0.008756, allocations: 199.9 kB / 329.2 MB, free: 13.74 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002613/0.009017, allocations: 121.6 kB / 329.3 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.708e-05/0.009084, allocations: 29.53 kB / 329.4 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.114e-05/0.009146, allocations: 29.38 kB / 329.4 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.475e-05/0.00923, allocations: 62.83 kB / 329.4 MB, free: 13.65 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001662/0.009397, allocations: 108.3 kB / 329.5 MB, free: 13.6 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004956/0.009892, allocations: 337.4 kB / 329.9 MB, free: 13.47 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.009896, allocations: 5.812 kB / 329.9 MB, free: 13.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.31e-07/0.009897, allocations: 0 / 329.9 MB, free: 13.46 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.009903, allocations: 0 / 329.9 MB, free: 13.46 MB / 302.1 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.001275/0.01118, allocations: 0.558 MB / 330.4 MB, free: 13.03 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.01122, allocations: 17.52 kB / 330.5 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.583e-05/0.01131, allocations: 32.09 kB / 330.5 MB, free: 13 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004155/0.01172, allocations: 226.4 kB / 330.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/0.01175, allocations: 18.12 kB / 330.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.789e-05/0.01178, allocations: 18.47 kB / 330.7 MB, free: 12.78 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006319/0.01242, allocations: 318 kB / 331.1 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.01243, allocations: 192 / 331.1 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.142e-05/0.01246, allocations: 15.22 kB / 331.1 MB, free: 12.53 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.01247, allocations: 9.562 kB / 331.1 MB, free: 12.53 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006689/0.01314, allocations: 217.8 kB / 331.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001637/0.01478, allocations: 0.7651 MB / 332.1 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006766/0.01545, allocations: 203.2 kB / 332.3 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002873/0.01574, allocations: 86.58 kB / 332.3 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.01577, allocations: 10.09 kB / 332.4 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004786/0.01624, allocations: 247.5 kB / 332.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.462e-06/0.01625, allocations: 0 / 332.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.00177/0.01801, allocations: 438.9 kB / 333 MB, free: 11.17 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.824e-05/0.01811, allocations: 131.8 kB / 333.2 MB, free: 11.01 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003635/0.01848, allocations: 266.1 kB / 333.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.382e-05/0.01851, allocations: 28.39 kB / 333.4 MB, free: 10.79 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.01867, allocations: 191.1 kB / 333.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.008e-05/0.01872, allocations: 51.08 kB / 333.7 MB, free: 10.57 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.01883, allocations: 51.64 kB / 333.7 MB, free: 10.53 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.01901, allocations: 332 kB / 334 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003288/0.01934, allocations: 116.6 kB / 334.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004486/0.01978, allocations: 278 kB / 334.4 MB, free: 9.852 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006849/0.02047, allocations: 255.6 kB / 334.7 MB, free: 9.66 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.02047, allocations: 0 / 334.7 MB, free: 9.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001063/0.02153, allocations: 409.7 kB / 335.1 MB, free: 9.406 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.363e-05/0.0216, allocations: 44.38 kB / 335.1 MB, free: 9.363 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.02161, allocations: 2.438 kB / 335.1 MB, free: 9.363 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000416/0.02202, allocations: 70.2 kB / 335.2 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002293/0.02225, allocations: 45.47 kB / 335.2 MB, free: 9.316 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002383/0.02464, allocations: 1.783 MB / 337 MB, free: 7.672 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003508/0.02499, allocations: 55.92 kB / 337.1 MB, free: 7.641 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.262e-05/0.02501, allocations: 6.938 kB / 337.1 MB, free: 7.641 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (22): * Single equations (assignments): 20 * 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.0001646/0.02517, allocations: 143.6 kB / 337.2 MB, free: 7.508 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.268e-05/0.02522, allocations: 23.83 kB / 337.3 MB, free: 7.496 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.34e-05/0.02527, allocations: 31.8 kB / 337.3 MB, free: 7.477 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.02527, allocations: 1.875 kB / 337.3 MB, free: 7.477 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.02528, allocations: 3.938 kB / 337.3 MB, free: 7.473 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.02528, allocations: 5.031 kB / 337.3 MB, free: 7.469 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002385/0.02552, allocations: 201.6 kB / 337.5 MB, free: 7.285 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.02552, allocations: 1.344 kB / 337.5 MB, free: 7.285 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001563/0.02568, allocations: 26.56 kB / 337.5 MB, free: 7.273 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002998/0.02598, allocations: 75.22 kB / 337.6 MB, free: 7.234 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.026, allocations: 5.312 kB / 337.6 MB, free: 7.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002125/0.02812, allocations: 1.774 MB / 339.4 MB, free: 5.598 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.02812, allocations: 0 / 339.4 MB, free: 5.598 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008805/0.029, allocations: 308.8 kB / 339.7 MB, free: 5.402 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.02905, allocations: 21.7 kB / 339.7 MB, free: 5.387 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.148e-05/0.02909, allocations: 10.38 kB / 339.7 MB, free: 5.379 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000261/0.02935, allocations: 33.39 kB / 339.7 MB, free: 5.363 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.02946, allocations: 24.12 kB / 339.8 MB, free: 5.348 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.02948, allocations: 11.33 kB / 339.8 MB, free: 5.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002081/0.02969, allocations: 187.2 kB / 340 MB, free: 5.215 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.02969, allocations: 0 / 340 MB, free: 5.215 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004389/0.03013, allocations: 75.64 kB / 340 MB, free: 5.203 MB / 302.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: 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.0001514/0.03028, allocations: 99.56 kB / 340.1 MB, free: 5.113 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009757/0.03126, allocations: 425.2 kB / 340.5 MB, free: 4.789 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.03126, allocations: 1.281 kB / 340.5 MB, free: 4.789 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004842/0.03174, allocations: 236.5 kB / 340.8 MB, free: 4.574 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.03206, allocations: 38.38 kB / 340.8 MB, free: 4.543 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001994/0.03405, allocations: 0.5418 MB / 341.4 MB, free: 3.969 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001397/0.03419, allocations: 142.2 kB / 341.5 MB, free: 3.812 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.758e-05/0.03429, allocations: 22.3 kB / 341.5 MB, free: 3.793 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.313e-05/0.03436, allocations: 24.48 kB / 341.5 MB, free: 3.766 MB / 302.1 MB Notification: Performance of SimCode: time 4.31e-07/0.03437, allocations: 0 / 341.5 MB, free: 3.766 MB / 302.1 MB Notification: Performance of Templates: time 0.009298/0.04366, allocations: 4.085 MB / 345.6 MB, free: 15.73 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingSchmittTrigger/InvertingSchmittTrigger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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.762548323720694]