Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 123.4 kB / 18.46 MB, free: 4.598 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 192.3 kB / 21.4 MB, free: 1.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 225.6 MB / 249.8 MB, free: 3.711 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 55.92 kB / 366.9 MB, free: 296 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08821/0.08964, allocations: 52.14 MB / 419 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.003996/0.09363, allocations: 2.76 MB / 421.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001241/0.09488, allocations: 0.6817 MB / 422.4 MB, free: 8.594 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.095, allocations: 4 kB / 422.4 MB, free: 8.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001463/0.09514, allocations: 47.52 kB / 422.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001853/0.09533, allocations: 91.25 kB / 422.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002551/0.09558, allocations: 99.8 kB / 422.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003988/0.09598, allocations: 346.6 kB / 423 MB, free: 8.016 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.09613, allocations: 64.7 kB / 423.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001762/0.09631, allocations: 127.5 kB / 423.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001924/0.0965, allocations: 155.3 kB / 423.3 MB, free: 7.672 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.933e-05/0.09656, allocations: 32 kB / 423.4 MB, free: 7.641 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.004e-05/0.09661, allocations: 28 kB / 423.4 MB, free: 7.613 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.273e-05/0.09668, allocations: 67.7 kB / 423.5 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001564/0.09684, allocations: 143.2 kB / 423.6 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003739/0.09722, allocations: 330.6 kB / 423.9 MB, free: 7.082 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.09722, allocations: 4 kB / 423.9 MB, free: 7.078 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.09722, allocations: 0 / 423.9 MB, free: 7.078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.09723, allocations: 0 / 423.9 MB, free: 7.078 MB / 350.1 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.001258/0.09848, allocations: 0.6455 MB / 424.6 MB, free: 6.379 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.09852, allocations: 8.031 kB / 424.6 MB, free: 6.371 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.2e-05/0.09859, allocations: 36.69 kB / 424.6 MB, free: 6.336 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003995/0.09899, allocations: 279.8 kB / 424.9 MB, free: 6.023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.09901, allocations: 12.81 kB / 424.9 MB, free: 6.012 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.744e-05/0.09904, allocations: 24.38 kB / 424.9 MB, free: 5.988 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006452/0.09969, allocations: 278 kB / 425.2 MB, free: 5.703 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.0997, allocations: 8 kB / 425.2 MB, free: 5.695 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.591e-05/0.09973, allocations: 4 kB / 425.2 MB, free: 5.691 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.09973, allocations: 4 kB / 425.2 MB, free: 5.688 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007619/0.1005, allocations: 245.6 kB / 425.5 MB, free: 5.445 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001742/0.1022, allocations: 0.9599 MB / 426.4 MB, free: 4.414 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009397/0.1032, allocations: 230.5 kB / 426.7 MB, free: 4.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003302/0.1035, allocations: 100.8 kB / 426.7 MB, free: 4.078 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.1035, allocations: 0 / 426.7 MB, free: 4.078 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004556/0.104, allocations: 181.7 kB / 426.9 MB, free: 3.879 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.104, allocations: 0 / 426.9 MB, free: 3.879 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002363/0.1063, allocations: 0.6585 MB / 427.6 MB, free: 3.195 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.051e-05/0.1064, allocations: 102.8 kB / 427.7 MB, free: 3.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002978/0.1067, allocations: 266.6 kB / 427.9 MB, free: 2.805 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.14e-05/0.1067, allocations: 33.7 kB / 428 MB, free: 2.766 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.1069, allocations: 176.1 kB / 428.2 MB, free: 2.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.346e-05/0.1069, allocations: 47.64 kB / 428.2 MB, free: 2.543 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.245e-05/0.107, allocations: 41.7 kB / 428.2 MB, free: 2.496 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.1072, allocations: 338.8 kB / 428.6 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003501/0.1075, allocations: 95.92 kB / 428.7 MB, free: 2.062 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003923/0.1079, allocations: 168.5 kB / 428.8 MB, free: 1.867 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006868/0.1086, allocations: 262.5 kB / 429.1 MB, free: 1.582 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1086, allocations: 4 kB / 429.1 MB, free: 1.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00121/0.1098, allocations: 427.7 kB / 429.5 MB, free: 1.145 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.154e-05/0.1098, allocations: 37.7 kB / 429.5 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.1098, allocations: 12 kB / 429.6 MB, free: 1.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003483/0.1102, allocations: 72.8 kB / 429.6 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/0.1104, allocations: 39.97 kB / 429.7 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002719/0.1131, allocations: 1.958 MB / 431.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003146/0.1134, allocations: 47.75 kB / 431.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.417e-05/0.1134, allocations: 12 kB / 431.7 MB, free: 14.82 MB / 366.1 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.0001361/0.1136, allocations: 137.9 kB / 431.8 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.1136, allocations: 23.86 kB / 431.8 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.528e-05/0.1137, allocations: 26 kB / 431.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.1137, allocations: 3.984 kB / 431.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.1137, allocations: 3.938 kB / 431.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.1137, allocations: 8.031 kB / 431.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002815/0.1139, allocations: 293.4 kB / 432.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1139, allocations: 0 / 432.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000142/0.1141, allocations: 35.91 kB / 432.2 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002672/0.1144, allocations: 72.8 kB / 432.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.1144, allocations: 7.938 kB / 432.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002346/0.1167, allocations: 1.762 MB / 434 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.1167, allocations: 0 / 434 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.1178, allocations: 353.6 kB / 434.4 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.915e-05/0.1179, allocations: 100.9 kB / 434.5 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.615e-05/0.1179, allocations: 11.94 kB / 434.5 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.1182, allocations: 31.95 kB / 434.5 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.487e-05/0.1182, allocations: 23.97 kB / 434.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.1182, allocations: 4 kB / 434.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001929/0.1184, allocations: 186 kB / 434.7 MB, free: 11.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1184, allocations: 0 / 434.7 MB, free: 11.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003379/0.1188, allocations: 79.89 kB / 434.8 MB, free: 11.44 MB / 366.1 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.0001387/0.1189, allocations: 107.7 kB / 434.9 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009751/0.1199, allocations: 397.9 kB / 435.3 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1199, allocations: 0 / 435.3 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000474/0.1204, allocations: 226.8 kB / 435.5 MB, free: 10.67 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.1207, allocations: 50.03 kB / 435.6 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009823/0.1216, allocations: 488.5 kB / 436.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000364/0.122, allocations: 0.7479 MB / 436.8 MB, free: 9.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.94e-05/0.1221, allocations: 19.44 kB / 436.8 MB, free: 9.32 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1221, allocations: 3.938 kB / 436.8 MB, free: 9.316 MB / 366.1 MB Notification: Performance of Templates: time 0.006326/0.1284, allocations: 4.189 MB / 441 MB, free: 5.148 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 7.048298255074769]