Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001197/0.001197, allocations: 80.98 kB / 22.99 MB, free: 1.496 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.001367/0.001367, allocations: 173.4 kB / 26.4 MB, free: 8.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9572/0.9572, allocations: 158.6 MB / 188.3 MB, free: 2.801 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 252.3 MB, free: 7.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.632e-05/2.79e-05, allocations: 6.25 kB / 252.3 MB, free: 7.215 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.003354/0.003382, allocations: 2.708 MB / 255 MB, free: 4.488 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001335/0.004717, allocations: 0.6942 MB / 255.7 MB, free: 3.785 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002632/0.00498, allocations: 4 kB / 255.7 MB, free: 3.781 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001576/0.005137, allocations: 43.56 kB / 255.7 MB, free: 3.738 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001896/0.005327, allocations: 99.12 kB / 255.8 MB, free: 3.641 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003206/0.005648, allocations: 95.75 kB / 255.9 MB, free: 3.547 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005231/0.006171, allocations: 370.3 kB / 256.3 MB, free: 3.184 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.006335, allocations: 60.89 kB / 256.4 MB, free: 3.121 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002426/0.006577, allocations: 195.5 kB / 256.5 MB, free: 2.93 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001563/0.006734, allocations: 115.7 kB / 256.7 MB, free: 2.816 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.542e-05/0.006779, allocations: 31.94 kB / 256.7 MB, free: 2.785 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.326e-05/0.006812, allocations: 32 kB / 256.7 MB, free: 2.754 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.4e-05/0.006866, allocations: 59.75 kB / 256.8 MB, free: 2.695 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.345e-05/0.00696, allocations: 107.7 kB / 256.9 MB, free: 2.59 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002512/0.007211, allocations: 223.1 kB / 257.1 MB, free: 2.371 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.007215, allocations: 0 / 257.1 MB, free: 2.371 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.007217, allocations: 0 / 257.1 MB, free: 2.371 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.007222, allocations: 0 / 257.1 MB, free: 2.371 MB / 234.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.0008736/0.008095, allocations: 0.6622 MB / 257.8 MB, free: 1.668 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.00814, allocations: 11.98 kB / 257.8 MB, free: 1.656 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.191e-05/0.008232, allocations: 48.75 kB / 257.8 MB, free: 1.609 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003032/0.008535, allocations: 216.1 kB / 258 MB, free: 1.371 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.008558, allocations: 12.88 kB / 258 MB, free: 1.359 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.807e-05/0.008586, allocations: 20.38 kB / 258.1 MB, free: 1.34 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000346/0.008932, allocations: 228.7 kB / 258.3 MB, free: 1.094 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.008946, allocations: 192 / 258.3 MB, free: 1.094 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/0.008966, allocations: 12.38 kB / 258.3 MB, free: 1.082 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.008978, allocations: 7.938 kB / 258.3 MB, free: 1.074 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.009085, allocations: 63.44 kB / 258.4 MB, free: 1.012 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.01013, allocations: 0.7581 MB / 259.1 MB, free: 204 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002264/0.01036, allocations: 119.1 kB / 259.2 MB, free: 72 kB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.319e-05/0.0104, allocations: 27.67 kB / 259.3 MB, free: 40 kB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.01042, allocations: 0 / 259.3 MB, free: 40 kB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002257/0.01065, allocations: 175.5 kB / 259.4 MB, free: 15.82 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.01065, allocations: 0 / 259.4 MB, free: 15.82 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009932/0.01164, allocations: 308.6 kB / 259.7 MB, free: 15.52 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/0.01169, allocations: 118.7 kB / 259.9 MB, free: 15.38 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.01187, allocations: 288.2 kB / 260.1 MB, free: 15.08 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.01189, allocations: 29.7 kB / 260.2 MB, free: 15.05 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.01199, allocations: 238.8 kB / 260.4 MB, free: 14.81 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.01201, allocations: 43.83 kB / 260.4 MB, free: 14.77 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.519e-05/0.01208, allocations: 55.3 kB / 260.5 MB, free: 14.7 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.0122, allocations: 0.5156 MB / 261 MB, free: 14.18 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.516e-05/0.01227, allocations: 53.38 kB / 261.1 MB, free: 14.11 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.01238, allocations: 209.6 kB / 261.3 MB, free: 13.84 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002351/0.01262, allocations: 181.8 kB / 261.5 MB, free: 13.62 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.01262, allocations: 4.031 kB / 261.5 MB, free: 13.62 MB / 250.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004245/0.01304, allocations: 288.2 kB / 261.7 MB, free: 13.32 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.828e-05/0.01308, allocations: 33.7 kB / 261.8 MB, free: 13.28 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.01309, allocations: 8.25 kB / 261.8 MB, free: 13.27 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002839/0.01338, allocations: 79.56 kB / 261.9 MB, free: 13.19 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.01349, allocations: 35.92 kB / 261.9 MB, free: 13.15 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001465/0.01496, allocations: 2.142 MB / 264 MB, free: 10.89 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.01511, allocations: 35.77 kB / 264.1 MB, free: 10.86 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.01512, allocations: 12 kB / 264.1 MB, free: 10.85 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001135/0.01524, allocations: 180.5 kB / 264.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001249/0.01536, allocations: 217.5 kB / 264.5 MB, free: 10.38 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001245/0.01549, allocations: 166.8 kB / 264.6 MB, free: 10.18 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.463e-06/0.01549, allocations: 4 kB / 264.6 MB, free: 10.17 MB / 250.7 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0002694/0.01576, allocations: 251.7 kB / 264.9 MB, free: 9.906 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.01578, allocations: 29.7 kB / 264.9 MB, free: 9.871 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.01579, allocations: 4 kB / 264.9 MB, free: 9.867 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001278/0.01592, allocations: 39.66 kB / 265 MB, free: 9.824 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.01605, allocations: 43.91 kB / 265 MB, free: 9.781 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009576/0.01701, allocations: 1.741 MB / 266.7 MB, free: 7.93 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.01716, allocations: 39.86 kB / 266.8 MB, free: 7.891 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.01718, allocations: 8 kB / 266.8 MB, free: 7.883 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001401/0.01732, allocations: 280 kB / 267.1 MB, free: 7.602 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.383e-05/0.01735, allocations: 31.86 kB / 267.1 MB, free: 7.57 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.501e-05/0.01738, allocations: 33.8 kB / 267.1 MB, free: 7.535 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.01739, allocations: 0 / 267.1 MB, free: 7.535 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.01739, allocations: 4 kB / 267.1 MB, free: 7.531 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.01739, allocations: 3.938 kB / 267.1 MB, free: 7.527 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.01756, allocations: 165.1 kB / 267.3 MB, free: 7.34 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.01756, allocations: 0 / 267.3 MB, free: 7.34 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.446e-05/0.01761, allocations: 15.98 kB / 267.3 MB, free: 7.324 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002108/0.01782, allocations: 79.62 kB / 267.4 MB, free: 7.242 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.01783, allocations: 0 / 267.4 MB, free: 7.242 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001202/0.01904, allocations: 2.103 MB / 269.5 MB, free: 5.023 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01904, allocations: 0 / 269.5 MB, free: 5.023 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002676/0.0193, allocations: 207.8 kB / 269.7 MB, free: 4.793 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.887e-05/0.01933, allocations: 27.81 kB / 269.7 MB, free: 4.766 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.01936, allocations: 11.94 kB / 269.7 MB, free: 4.754 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.914e-05/0.01945, allocations: 19.97 kB / 269.7 MB, free: 4.734 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.604e-05/0.0195, allocations: 19.97 kB / 269.8 MB, free: 4.715 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-06/0.01951, allocations: 4 kB / 269.8 MB, free: 4.711 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001018/0.01961, allocations: 193.1 kB / 270 MB, free: 4.523 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01961, allocations: 0 / 270 MB, free: 4.523 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004481/0.02006, allocations: 127.8 kB / 270.1 MB, free: 4.398 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.0001547/0.02021, allocations: 103.2 kB / 270.2 MB, free: 4.285 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0007147/0.02093, allocations: 0.711 MB / 270.9 MB, free: 3.5 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.02093, allocations: 0 / 270.9 MB, free: 3.5 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001654/0.0211, allocations: 229.4 kB / 271.1 MB, free: 3.254 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.02134, allocations: 48.39 kB / 271.2 MB, free: 3.207 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.02266, allocations: 0.6669 MB / 271.8 MB, free: 2.512 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.165e-05/0.02271, allocations: 84.62 kB / 271.9 MB, free: 2.41 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.83e-05/0.02281, allocations: 29.97 kB / 271.9 MB, free: 2.383 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.02295, allocations: 118.2 kB / 272.1 MB, free: 2.266 MB / 250.7 MB Notification: Performance of SimCode: time 8.81e-07/0.02295, allocations: 0 / 272.1 MB, free: 2.266 MB / 250.7 MB Notification: Performance of Templates: time 0.006918/0.02986, allocations: 4.632 MB / 276.7 MB, free: 13.64 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.984585603233427]