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.001023/0.001023, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001403/0.001403, allocations: 170 kB / 24.91 MB, free: 9.191 MB / 18.57 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.9775/0.9775, allocations: 177.1 MB / 205.3 MB, free: 5.465 MB / 186.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.543e-06/1.543e-06, allocations: 0 / 273.5 MB, free: 1.18 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.292e-05/2.447e-05, allocations: 4.844 kB / 273.5 MB, free: 1.176 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.003571/0.003596, allocations: 2.799 MB / 276.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001301/0.004897, allocations: 0.7203 MB / 277.1 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.005036, allocations: 7.938 kB / 277.1 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001266/0.005163, allocations: 43.52 kB / 277.1 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000174/0.005337, allocations: 95.25 kB / 277.2 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002786/0.005615, allocations: 95.75 kB / 277.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003278/0.005943, allocations: 374.3 kB / 277.7 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.00608, allocations: 58.86 kB / 277.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002136/0.006293, allocations: 195.5 kB / 277.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.006434, allocations: 123.6 kB / 278 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.672e-05/0.006471, allocations: 28 kB / 278.1 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.973e-05/0.006501, allocations: 28 kB / 278.1 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.56e-05/0.006546, allocations: 67.75 kB / 278.2 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.984e-05/0.006626, allocations: 103.7 kB / 278.3 MB, free: 12.44 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002174/0.006844, allocations: 219.2 kB / 278.5 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.006846, allocations: 0 / 278.5 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.006847, allocations: 0 / 278.5 MB, free: 12.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.006851, allocations: 0 / 278.5 MB, free: 12.23 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006521/0.007503, allocations: 0.5299 MB / 279 MB, free: 11.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.007534, allocations: 8.031 kB / 279 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.947e-05/0.007593, allocations: 40.91 kB / 279.1 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.0078, allocations: 185.2 kB / 279.2 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.007816, allocations: 20.88 kB / 279.3 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.007836, allocations: 16.38 kB / 279.3 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002737/0.00811, allocations: 267.4 kB / 279.5 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.008118, allocations: 192 / 279.5 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.008134, allocations: 8.375 kB / 279.5 MB, free: 11.08 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.008142, allocations: 11.94 kB / 279.6 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.527e-05/0.008227, allocations: 59.41 kB / 279.6 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007294/0.008956, allocations: 0.6672 MB / 280.3 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/0.009125, allocations: 86.48 kB / 280.4 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.717e-05/0.009162, allocations: 36.83 kB / 280.4 MB, free: 10.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.00918, allocations: 4 kB / 280.4 MB, free: 10.16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001518/0.009332, allocations: 165.2 kB / 280.6 MB, free: 9.965 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.009334, allocations: 0 / 280.6 MB, free: 9.965 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007756/0.01011, allocations: 262.2 kB / 280.8 MB, free: 9.699 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.01015, allocations: 106.8 kB / 280.9 MB, free: 9.57 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.01029, allocations: 244.9 kB / 281.2 MB, free: 9.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.0103, allocations: 33.7 kB / 281.2 MB, free: 9.281 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.512e-05/0.01037, allocations: 164.2 kB / 281.4 MB, free: 9.117 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/0.01039, allocations: 39.64 kB / 281.4 MB, free: 9.078 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.707e-05/0.01045, allocations: 53.67 kB / 281.4 MB, free: 9.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.469e-05/0.01052, allocations: 330.8 kB / 281.8 MB, free: 8.688 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.536e-05/0.01057, allocations: 45.69 kB / 281.8 MB, free: 8.637 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.123e-05/0.01066, allocations: 189.7 kB / 282 MB, free: 8.398 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.01078, allocations: 160 kB / 282.2 MB, free: 8.207 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.01078, allocations: 3.938 kB / 282.2 MB, free: 8.203 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002627/0.01104, allocations: 245.7 kB / 282.4 MB, free: 7.941 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/0.01107, allocations: 41.69 kB / 282.4 MB, free: 7.895 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.01108, allocations: 4 kB / 282.4 MB, free: 7.891 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002237/0.0113, allocations: 68.94 kB / 282.5 MB, free: 7.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.123e-05/0.01139, allocations: 43.84 kB / 282.6 MB, free: 7.777 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000934/0.01233, allocations: 1.477 MB / 284 MB, free: 6.215 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.01246, allocations: 51.84 kB / 284.1 MB, free: 6.164 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.01247, allocations: 4 kB / 284.1 MB, free: 6.16 MB / 266.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 8.075e-05/0.01255, allocations: 133.7 kB / 284.2 MB, free: 6.02 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.01257, allocations: 15.98 kB / 284.2 MB, free: 6.004 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.456e-05/0.0126, allocations: 25.77 kB / 284.3 MB, free: 5.977 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.0126, allocations: 4.219 kB / 284.3 MB, free: 5.973 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.0126, allocations: 0 / 284.3 MB, free: 5.973 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.0126, allocations: 3.938 kB / 284.3 MB, free: 5.969 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001043/0.01271, allocations: 129.8 kB / 284.4 MB, free: 5.824 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.01271, allocations: 11.94 kB / 284.4 MB, free: 5.812 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.581e-05/0.01276, allocations: 15.98 kB / 284.4 MB, free: 5.797 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001561/0.01291, allocations: 76.72 kB / 284.5 MB, free: 5.719 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.01292, allocations: 4 kB / 284.5 MB, free: 5.715 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007425/0.01366, allocations: 1.43 MB / 285.9 MB, free: 4.199 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.01367, allocations: 7.969 kB / 285.9 MB, free: 4.191 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001846/0.01385, allocations: 162.4 kB / 286.1 MB, free: 4.012 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.127e-05/0.01387, allocations: 15.91 kB / 286.1 MB, free: 3.996 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.01389, allocations: 0 / 286.1 MB, free: 3.996 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.039e-05/0.01397, allocations: 27.97 kB / 286.1 MB, free: 3.969 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.665e-05/0.01402, allocations: 23.97 kB / 286.2 MB, free: 3.945 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.01402, allocations: 0 / 286.2 MB, free: 3.945 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.391e-05/0.01409, allocations: 82.77 kB / 286.2 MB, free: 3.859 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-08/0.01409, allocations: 0 / 286.2 MB, free: 3.859 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002329/0.01432, allocations: 75.84 kB / 286.3 MB, free: 3.785 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: 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 9.49e-05/0.01442, allocations: 84.41 kB / 286.4 MB, free: 3.691 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003475/0.01476, allocations: 343 kB / 286.7 MB, free: 3.328 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.01477, allocations: 0 / 286.7 MB, free: 3.328 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.01489, allocations: 174.4 kB / 286.9 MB, free: 3.145 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001595/0.01505, allocations: 64.77 kB / 287 MB, free: 3.082 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.0162, allocations: 0.6459 MB / 287.6 MB, free: 2.41 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.502e-05/0.01624, allocations: 84.17 kB / 287.7 MB, free: 2.309 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.019e-05/0.01631, allocations: 22.3 kB / 287.7 MB, free: 2.289 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003704/0.01668, allocations: 95.28 kB / 287.8 MB, free: 2.195 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01668, allocations: 3.938 kB / 287.8 MB, free: 2.191 MB / 266.7 MB Notification: Performance of Templates: time 0.006607/0.02329, allocations: 4.024 MB / 291.8 MB, free: 14.24 MB / 282.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 -s gbode -gbm=radauIIA3 -emit_protected -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.760015557985753]