Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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.0009127/0.0009127, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.001157/0.001157, allocations: 168.7 kB / 24.91 MB, free: 8.762 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.9619/0.9619, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.SchmittTrigger,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.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_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 273.5 MB, free: 1.184 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.95e-05/2.112e-05, allocations: 2.312 kB / 273.5 MB, free: 1.18 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.00301/0.003031, allocations: 2.795 MB / 276.3 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001505/0.004536, allocations: 0.7164 MB / 277.1 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.004676, allocations: 7.938 kB / 277.1 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001249/0.004801, allocations: 47.58 kB / 277.1 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001591/0.00496, allocations: 95.19 kB / 277.2 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004187/0.005379, allocations: 99.75 kB / 277.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003352/0.005714, allocations: 370.3 kB / 277.7 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.005856, allocations: 58.86 kB / 277.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002294/0.006085, allocations: 199.5 kB / 277.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001307/0.006216, allocations: 111.6 kB / 278 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.767e-05/0.006253, allocations: 32 kB / 278.1 MB, free: 12.65 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.118e-05/0.006285, allocations: 32 kB / 278.1 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.741e-05/0.006332, allocations: 59.75 kB / 278.1 MB, free: 12.56 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.764e-05/0.00642, allocations: 111.7 kB / 278.3 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.006665, allocations: 215.2 kB / 278.5 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.006669, allocations: 0 / 278.5 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.00667, allocations: 0 / 278.5 MB, free: 12.24 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.006676, allocations: 0 / 278.5 MB, free: 12.24 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.000653/0.007329, allocations: 0.5376 MB / 279 MB, free: 11.67 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.00736, allocations: 8.031 kB / 279 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.508e-05/0.007415, allocations: 36.91 kB / 279 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.007619, allocations: 189.2 kB / 279.2 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.007633, allocations: 12.88 kB / 279.2 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.007654, allocations: 24.38 kB / 279.3 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002762/0.00793, allocations: 263.4 kB / 279.5 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.007939, allocations: 192 / 279.5 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.007955, allocations: 12.38 kB / 279.5 MB, free: 11.08 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.007961, allocations: 7.938 kB / 279.5 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.227e-05/0.008044, allocations: 55.42 kB / 279.6 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007196/0.008763, allocations: 0.6266 MB / 280.2 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.008928, allocations: 98.45 kB / 280.3 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.801e-05/0.008966, allocations: 32.86 kB / 280.4 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.008981, allocations: 0 / 280.4 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001518/0.009133, allocations: 169.2 kB / 280.5 MB, free: 10.02 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.062e-06/0.009134, allocations: 0 / 280.5 MB, free: 10.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005278/0.009662, allocations: 270.1 kB / 280.8 MB, free: 9.746 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.009713, allocations: 106.8 kB / 280.9 MB, free: 9.617 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.00985, allocations: 229 kB / 281.1 MB, free: 9.383 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.009866, allocations: 25.7 kB / 281.1 MB, free: 9.352 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.931e-05/0.009936, allocations: 176.1 kB / 281.3 MB, free: 9.176 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.009959, allocations: 43.62 kB / 281.4 MB, free: 9.133 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-05/0.01001, allocations: 41.69 kB / 281.4 MB, free: 9.086 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.025e-05/0.01009, allocations: 326.8 kB / 281.7 MB, free: 8.758 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.479e-05/0.01014, allocations: 49.69 kB / 281.8 MB, free: 8.703 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.824e-05/0.01022, allocations: 170.4 kB / 281.9 MB, free: 8.488 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.01033, allocations: 146.5 kB / 282.1 MB, free: 8.316 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.01033, allocations: 0 / 282.1 MB, free: 8.316 MB / 266.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002603/0.01059, allocations: 245.6 kB / 282.3 MB, free: 8.055 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.868e-05/0.01062, allocations: 29.7 kB / 282.3 MB, free: 8.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.01064, allocations: 4 kB / 282.3 MB, free: 8.016 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002217/0.01086, allocations: 68.97 kB / 282.4 MB, free: 7.945 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.851e-05/0.01095, allocations: 39.91 kB / 282.4 MB, free: 7.906 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009535/0.0119, allocations: 1.457 MB / 283.9 MB, free: 6.363 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.01202, allocations: 39.83 kB / 283.9 MB, free: 6.324 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.01203, allocations: 4 kB / 283.9 MB, free: 6.32 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 17 * 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.0003692/0.0124, allocations: 133.8 kB / 284.1 MB, free: 6.18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.266e-05/0.01242, allocations: 19.97 kB / 284.1 MB, free: 6.16 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.634e-05/0.01245, allocations: 21.78 kB / 284.1 MB, free: 6.137 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.01245, allocations: 7.984 kB / 284.1 MB, free: 6.129 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.01245, allocations: 0 / 284.1 MB, free: 6.129 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.01246, allocations: 0 / 284.1 MB, free: 6.129 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/0.01257, allocations: 129.7 kB / 284.3 MB, free: 5.984 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.01257, allocations: 8.203 kB / 284.3 MB, free: 5.977 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.053e-05/0.01262, allocations: 12 kB / 284.3 MB, free: 5.965 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001566/0.01278, allocations: 72.67 kB / 284.3 MB, free: 5.891 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.01279, allocations: 8 kB / 284.4 MB, free: 5.883 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006758/0.01346, allocations: 1.276 MB / 285.6 MB, free: 4.52 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01346, allocations: 0 / 285.6 MB, free: 4.52 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001953/0.01366, allocations: 165.8 kB / 285.8 MB, free: 4.336 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.169e-05/0.01368, allocations: 23.8 kB / 285.8 MB, free: 4.312 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.0137, allocations: 4 kB / 285.8 MB, free: 4.309 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.789e-05/0.01378, allocations: 31.91 kB / 285.8 MB, free: 4.277 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.549e-05/0.01383, allocations: 15.97 kB / 285.9 MB, free: 4.262 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.01384, allocations: 0 / 285.9 MB, free: 4.262 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.46e-05/0.0139, allocations: 82.72 kB / 285.9 MB, free: 4.176 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0139, allocations: 0 / 285.9 MB, free: 4.176 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000212/0.01412, allocations: 71.89 kB / 286 MB, free: 4.105 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 0.0001023/0.01422, allocations: 88.41 kB / 286.1 MB, free: 4.008 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002911/0.01451, allocations: 302.8 kB / 286.4 MB, free: 3.684 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.01452, allocations: 4 kB / 286.4 MB, free: 3.68 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.01464, allocations: 167.3 kB / 286.6 MB, free: 3.5 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000151/0.01479, allocations: 49.09 kB / 286.6 MB, free: 3.453 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006495/0.01544, allocations: 420.6 kB / 287 MB, free: 3.016 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.416e-05/0.01548, allocations: 80.31 kB / 287.1 MB, free: 2.918 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.74e-05/0.01555, allocations: 25.94 kB / 287.1 MB, free: 2.895 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.01567, allocations: 91.36 kB / 287.2 MB, free: 2.805 MB / 266.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01567, allocations: 0 / 287.2 MB, free: 2.805 MB / 266.7 MB Notification: Performance of Templates: time 0.006439/0.02211, allocations: 4.005 MB / 291.2 MB, free: 14.88 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",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.7037743241526186]