Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008854/0.0008854, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001134/0.00202, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006996/0.0006996, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009435/0.001643, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9761/0.9761, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09424/1.07, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 244.8 MB, free: 14.18 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.181e-05/2.322e-05, allocations: 5.688 kB / 244.8 MB, free: 14.17 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.003598/0.003621, allocations: 2.808 MB / 247.6 MB, free: 11.34 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.004762, allocations: 0.728 MB / 248.3 MB, free: 10.61 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.004867, allocations: 7.938 kB / 248.3 MB, free: 10.6 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.587e-05/0.004953, allocations: 43.58 kB / 248.4 MB, free: 10.55 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001345/0.005087, allocations: 103.1 kB / 248.5 MB, free: 10.45 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001735/0.005261, allocations: 95.81 kB / 248.5 MB, free: 10.36 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002946/0.005556, allocations: 362.4 kB / 248.9 MB, free: 10 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.005681, allocations: 66.8 kB / 249 MB, free: 9.941 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002142/0.005896, allocations: 228.1 kB / 249.2 MB, free: 9.719 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/0.00603, allocations: 119.6 kB / 249.3 MB, free: 9.602 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.226e-05/0.006073, allocations: 28 kB / 249.3 MB, free: 9.574 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.328e-05/0.006106, allocations: 28 kB / 249.4 MB, free: 9.547 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.174e-05/0.006148, allocations: 47.88 kB / 249.4 MB, free: 9.5 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.036e-05/0.006218, allocations: 83.81 kB / 249.5 MB, free: 9.418 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.006433, allocations: 195.3 kB / 249.7 MB, free: 9.227 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.051e-05/0.006443, allocations: 0 / 249.7 MB, free: 9.227 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.006444, allocations: 0 / 249.7 MB, free: 9.227 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.397e-06/0.006454, allocations: 0 / 249.7 MB, free: 9.227 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007316/0.007185, allocations: 0.5841 MB / 250.3 MB, free: 8.609 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.007223, allocations: 12.03 kB / 250.3 MB, free: 8.598 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.616e-05/0.007289, allocations: 36.91 kB / 250.3 MB, free: 8.562 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/0.007498, allocations: 185.3 kB / 250.5 MB, free: 8.355 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.007513, allocations: 16.88 kB / 250.5 MB, free: 8.34 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.00754, allocations: 20.38 kB / 250.5 MB, free: 8.32 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002769/0.007816, allocations: 263.4 kB / 250.8 MB, free: 8.039 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.007827, allocations: 4.125 kB / 250.8 MB, free: 8.035 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.007842, allocations: 8.375 kB / 250.8 MB, free: 8.027 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.007851, allocations: 7.938 kB / 250.8 MB, free: 8.02 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.351e-05/0.007934, allocations: 63.41 kB / 250.9 MB, free: 7.953 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007454/0.008679, allocations: 0.6634 MB / 251.5 MB, free: 7.246 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.00886, allocations: 98.47 kB / 251.6 MB, free: 7.141 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.427e-05/0.008894, allocations: 24.84 kB / 251.7 MB, free: 7.113 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.008914, allocations: 8 kB / 251.7 MB, free: 7.105 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004383/0.009353, allocations: 169.2 kB / 251.8 MB, free: 6.906 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.203e-06/0.009354, allocations: 0 / 251.8 MB, free: 6.906 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005473/0.009901, allocations: 262.2 kB / 252.1 MB, free: 6.641 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.009931, allocations: 55.41 kB / 252.1 MB, free: 6.574 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.01007, allocations: 244.9 kB / 252.4 MB, free: 6.32 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.01008, allocations: 29.7 kB / 252.4 MB, free: 6.285 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.49e-05/0.01015, allocations: 168.2 kB / 252.6 MB, free: 6.117 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.01017, allocations: 43.62 kB / 252.6 MB, free: 6.074 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.323e-05/0.01023, allocations: 49.69 kB / 252.7 MB, free: 6.02 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.868e-05/0.0103, allocations: 338.8 kB / 253 MB, free: 5.68 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.674e-05/0.01035, allocations: 45.64 kB / 253 MB, free: 5.629 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.342e-05/0.01044, allocations: 184 kB / 253.2 MB, free: 5.395 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.01057, allocations: 164.5 kB / 253.4 MB, free: 5.199 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.01057, allocations: 7.938 kB / 253.4 MB, free: 5.191 MB / 250.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002736/0.01085, allocations: 249.7 kB / 253.6 MB, free: 4.926 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.946e-05/0.01089, allocations: 33.91 kB / 253.7 MB, free: 4.887 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.01089, allocations: 4 kB / 253.7 MB, free: 4.883 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002555/0.01115, allocations: 72.91 kB / 253.7 MB, free: 4.809 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.558e-05/0.01124, allocations: 51.84 kB / 253.8 MB, free: 4.758 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001155/0.0124, allocations: 1.477 MB / 255.3 MB, free: 3.195 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/0.01254, allocations: 47.84 kB / 255.3 MB, free: 3.148 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.01255, allocations: 11.94 kB / 255.3 MB, free: 3.137 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 19 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 9.822e-05/0.01265, allocations: 125.7 kB / 255.4 MB, free: 3.004 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/0.01268, allocations: 19.98 kB / 255.5 MB, free: 2.984 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.869e-05/0.01271, allocations: 21.77 kB / 255.5 MB, free: 2.965 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.01271, allocations: 0 / 255.5 MB, free: 2.965 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.01271, allocations: 4 kB / 255.5 MB, free: 2.961 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.01272, allocations: 0 / 255.5 MB, free: 2.961 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.01286, allocations: 133.8 kB / 255.6 MB, free: 2.812 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.01287, allocations: 7.938 kB / 255.6 MB, free: 2.805 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.611e-05/0.01292, allocations: 23.92 kB / 255.6 MB, free: 2.781 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.286e-05/0.01294, allocations: 15.86 kB / 255.7 MB, free: 2.766 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002108/0.01316, allocations: 68.8 kB / 255.7 MB, free: 2.695 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.01317, allocations: 4 kB / 255.7 MB, free: 2.691 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008841/0.01405, allocations: 1.435 MB / 257.2 MB, free: 1.172 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.01405, allocations: 0 / 257.2 MB, free: 1.172 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002069/0.01426, allocations: 161.8 kB / 257.3 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.01428, allocations: 4 kB / 257.3 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.295e-05/0.01436, allocations: 23.97 kB / 257.4 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.68e-05/0.01442, allocations: 20 kB / 257.4 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.667e-06/0.01443, allocations: 8 kB / 257.4 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.275e-05/0.0145, allocations: 82.75 kB / 257.5 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.0145, allocations: 0 / 257.5 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002359/0.01474, allocations: 75.89 kB / 257.5 MB, free: 0.7812 MB / 250.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: 3 ($whenCondition1,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 (9): * Single equations (assignments): 6 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001243/0.01486, allocations: 80.36 kB / 257.6 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004015/0.01526, allocations: 345.6 kB / 258 MB, free: 332 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/0.01527, allocations: 4 kB / 258 MB, free: 328 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.01541, allocations: 175.2 kB / 258.1 MB, free: 140 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.01577, allocations: 446.1 kB / 258.6 MB, free: 15.62 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002487/0.01826, allocations: 0.6769 MB / 259.2 MB, free: 14.92 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.809e-05/0.0183, allocations: 88.17 kB / 259.3 MB, free: 14.81 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.05e-05/0.01838, allocations: 30.27 kB / 259.4 MB, free: 14.78 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.01851, allocations: 91.36 kB / 259.4 MB, free: 14.69 MB / 266.7 MB Notification: Performance of SimCode: time 1.433e-06/0.01851, allocations: 0 / 259.4 MB, free: 14.69 MB / 266.7 MB Notification: Performance of Templates: time 0.006432/0.02494, allocations: 4.229 MB / 263.7 MB, free: 10.54 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.53665972314775]