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.001471/0.001471, allocations: 96.27 kB / 20.96 MB, free: 3.582 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.001586/0.001586, allocations: 156.8 kB / 24.26 MB, free: 284 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.486/1.486, allocations: 177 MB / 204.5 MB, free: 5.605 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.854e-06/1.854e-06, allocations: 0 / 272.2 MB, free: 1.75 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.454e-05/4.64e-05, allocations: 2.312 kB / 272.2 MB, free: 1.746 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.006047/0.006093, allocations: 2.62 MB / 274.9 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001772/0.007865, allocations: 0.6814 MB / 275.5 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002485/0.008114, allocations: 4 kB / 275.6 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002279/0.008342, allocations: 43.58 kB / 275.6 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003418/0.008684, allocations: 99.12 kB / 275.7 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004177/0.009101, allocations: 83.77 kB / 275.8 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000639/0.00974, allocations: 366.3 kB / 276.1 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002474/0.009987, allocations: 64.83 kB / 276.2 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003848/0.01037, allocations: 191.6 kB / 276.4 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002801/0.01065, allocations: 119.5 kB / 276.5 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.703e-05/0.01073, allocations: 32 kB / 276.5 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.252e-05/0.0108, allocations: 28 kB / 276.6 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.01092, allocations: 67.69 kB / 276.6 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002057/0.01113, allocations: 107.7 kB / 276.7 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006187/0.01174, allocations: 334.9 kB / 277.1 MB, free: 12.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.01175, allocations: 0 / 277.1 MB, free: 12.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.01175, allocations: 4 kB / 277.1 MB, free: 12.9 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.553e-06/0.01176, allocations: 0 / 277.1 MB, free: 12.9 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.001583/0.01334, allocations: 0.5585 MB / 277.6 MB, free: 12.31 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.01339, allocations: 15.98 kB / 277.6 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/0.01354, allocations: 48.73 kB / 277.7 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005938/0.01414, allocations: 225.3 kB / 277.9 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.777e-05/0.01416, allocations: 16.81 kB / 277.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.911e-05/0.01422, allocations: 24.38 kB / 277.9 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008652/0.01509, allocations: 317.7 kB / 278.3 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.0151, allocations: 192 / 278.3 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.337e-05/0.01514, allocations: 12.38 kB / 278.3 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.01516, allocations: 7.938 kB / 278.3 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009114/0.01607, allocations: 221.8 kB / 278.5 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002213/0.01828, allocations: 0.7738 MB / 279.3 MB, free: 10.56 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009097/0.01919, allocations: 198.6 kB / 279.5 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003785/0.01957, allocations: 88.8 kB / 279.5 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.01959, allocations: 0 / 279.5 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006673/0.02026, allocations: 260 kB / 279.8 MB, free: 9.969 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.02026, allocations: 0 / 279.8 MB, free: 9.969 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.002404/0.02267, allocations: 452.5 kB / 280.2 MB, free: 9.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001306/0.0228, allocations: 136.5 kB / 280.4 MB, free: 9.355 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004108/0.02321, allocations: 253.9 kB / 280.6 MB, free: 9.098 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.459e-05/0.02325, allocations: 29.7 kB / 280.6 MB, free: 9.062 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/0.02346, allocations: 180.2 kB / 280.8 MB, free: 8.879 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.229e-05/0.02353, allocations: 55.58 kB / 280.9 MB, free: 8.824 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003817/0.02391, allocations: 45.66 kB / 280.9 MB, free: 8.773 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002407/0.02415, allocations: 342.8 kB / 281.3 MB, free: 8.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004332/0.02459, allocations: 109.6 kB / 281.4 MB, free: 8.316 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005778/0.02516, allocations: 263.2 kB / 281.6 MB, free: 8.004 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007802/0.02594, allocations: 246.8 kB / 281.9 MB, free: 7.738 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.02595, allocations: 3.938 kB / 281.9 MB, free: 7.734 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0015/0.02745, allocations: 405.4 kB / 282.3 MB, free: 7.316 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.479e-05/0.02751, allocations: 37.64 kB / 282.3 MB, free: 7.273 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.02752, allocations: 0 / 282.3 MB, free: 7.273 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007615/0.02828, allocations: 112.9 kB / 282.4 MB, free: 7.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002682/0.02855, allocations: 35.91 kB / 282.4 MB, free: 7.125 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003284/0.03183, allocations: 1.618 MB / 284.1 MB, free: 5.402 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004467/0.03228, allocations: 47.88 kB / 284.1 MB, free: 5.355 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.854e-05/0.03232, allocations: 12 kB / 284.1 MB, free: 5.344 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.0002455/0.03256, allocations: 133.8 kB / 284.3 MB, free: 5.203 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.274e-05/0.03266, allocations: 31.86 kB / 284.3 MB, free: 5.172 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.311e-05/0.03273, allocations: 30.17 kB / 284.3 MB, free: 5.141 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.03274, allocations: 4 kB / 284.3 MB, free: 5.137 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.03274, allocations: 0 / 284.3 MB, free: 5.137 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.03274, allocations: 0 / 284.3 MB, free: 5.137 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003752/0.03312, allocations: 213 kB / 284.5 MB, free: 4.898 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.03312, allocations: 0 / 284.5 MB, free: 4.898 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002012/0.03332, allocations: 27.97 kB / 284.6 MB, free: 4.871 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007463/0.03407, allocations: 100.8 kB / 284.7 MB, free: 4.77 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/0.03409, allocations: 0 / 284.7 MB, free: 4.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003046/0.03713, allocations: 1.626 MB / 286.3 MB, free: 3.031 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.03714, allocations: 3.938 kB / 286.3 MB, free: 3.027 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/0.03841, allocations: 309.6 kB / 286.6 MB, free: 2.703 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.846e-05/0.0385, allocations: 31.72 kB / 286.6 MB, free: 2.672 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.191e-05/0.03856, allocations: 8 kB / 286.6 MB, free: 2.664 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003326/0.03889, allocations: 31.97 kB / 286.7 MB, free: 2.633 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/0.03901, allocations: 23.95 kB / 286.7 MB, free: 2.609 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/0.03904, allocations: 4 kB / 286.7 MB, free: 2.605 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003012/0.03934, allocations: 181.2 kB / 286.9 MB, free: 2.43 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.03934, allocations: 0 / 286.9 MB, free: 2.43 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005527/0.03989, allocations: 79.89 kB / 286.9 MB, free: 2.352 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.000196/0.04009, allocations: 111 kB / 287 MB, free: 2.238 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001381/0.04147, allocations: 421.4 kB / 287.5 MB, free: 1.801 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.04147, allocations: 4 kB / 287.5 MB, free: 1.797 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007286/0.0422, allocations: 226.4 kB / 287.7 MB, free: 1.562 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004741/0.04268, allocations: 48.78 kB / 287.7 MB, free: 1.516 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002975/0.04565, allocations: 0.5596 MB / 288.3 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002082/0.04586, allocations: 134.2 kB / 288.4 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001549/0.04601, allocations: 30.27 kB / 288.4 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.47e-05/0.04611, allocations: 20.5 kB / 288.5 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of SimCode: time 1.132e-06/0.04611, allocations: 0 / 288.5 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of Templates: time 0.01352/0.05963, allocations: 4.101 MB / 292.6 MB, free: 12.68 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=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.8061617949279025]