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.002032/0.002032, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.00223/0.00223, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 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 1.508/1.508, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.703e-06/1.703e-06, allocations: 0 / 272.4 MB, free: 1.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.298e-05/2.469e-05, allocations: 2.312 kB / 272.4 MB, free: 1.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004136/0.004161, allocations: 2.604 MB / 275 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001322/0.005484, allocations: 0.6816 MB / 275.7 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.005597, allocations: 7.938 kB / 275.7 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001577/0.005755, allocations: 47.56 kB / 275.7 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001987/0.005954, allocations: 91.25 kB / 275.8 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002752/0.006229, allocations: 107.7 kB / 275.9 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006665/0.006895, allocations: 354.4 kB / 276.3 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.007061, allocations: 68.81 kB / 276.3 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002877/0.007349, allocations: 199.5 kB / 276.5 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001858/0.007534, allocations: 107.7 kB / 276.6 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.692e-05/0.007601, allocations: 35.98 kB / 276.7 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.37e-05/0.007655, allocations: 28 kB / 276.7 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.561e-05/0.007731, allocations: 67.69 kB / 276.7 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001419/0.007873, allocations: 99.77 kB / 276.8 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004286/0.008301, allocations: 330.9 kB / 277.2 MB, free: 12.96 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.008304, allocations: 4 kB / 277.2 MB, free: 12.95 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.008306, allocations: 0 / 277.2 MB, free: 12.95 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.00831, allocations: 0 / 277.2 MB, free: 12.95 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.001287/0.009598, allocations: 0.5703 MB / 277.7 MB, free: 12.35 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.009633, allocations: 12.03 kB / 277.8 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.009748, allocations: 48.75 kB / 277.8 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004063/0.01015, allocations: 225.2 kB / 278 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/0.01018, allocations: 20.81 kB / 278 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.044e-05/0.01022, allocations: 20.38 kB / 278.1 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00073/0.01095, allocations: 322.7 kB / 278.4 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.01096, allocations: 4.188 kB / 278.4 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.817e-05/0.01099, allocations: 8.375 kB / 278.4 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.011, allocations: 7.938 kB / 278.4 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007933/0.01179, allocations: 249.8 kB / 278.6 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001635/0.01343, allocations: 0.8175 MB / 279.5 MB, free: 10.53 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008481/0.01428, allocations: 230.5 kB / 279.7 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003476/0.01462, allocations: 100.8 kB / 279.8 MB, free: 10.19 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.01465, allocations: 7.984 kB / 279.8 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000513/0.01516, allocations: 221.3 kB / 280 MB, free: 9.934 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.01516, allocations: 0 / 280 MB, free: 9.934 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.002357/0.01752, allocations: 0.5838 MB / 280.6 MB, free: 9.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.377e-05/0.01761, allocations: 110.8 kB / 280.7 MB, free: 9.207 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003091/0.01792, allocations: 249.9 kB / 280.9 MB, free: 8.953 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.379e-05/0.01796, allocations: 37.7 kB / 281 MB, free: 8.91 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.01811, allocations: 176.2 kB / 281.2 MB, free: 8.73 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.966e-05/0.01816, allocations: 47.58 kB / 281.2 MB, free: 8.684 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.156e-05/0.01825, allocations: 45.7 kB / 281.2 MB, free: 8.633 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.01844, allocations: 326.8 kB / 281.6 MB, free: 8.305 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003754/0.01882, allocations: 133.5 kB / 281.7 MB, free: 8.168 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004664/0.01929, allocations: 245.6 kB / 281.9 MB, free: 7.879 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000733/0.02002, allocations: 273.7 kB / 282.2 MB, free: 7.582 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.02002, allocations: 224 / 282.2 MB, free: 7.582 MB / 266.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001294/0.02132, allocations: 465.4 kB / 282.7 MB, free: 7.105 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.64e-05/0.02138, allocations: 41.62 kB / 282.7 MB, free: 7.059 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.02139, allocations: 4 kB / 282.7 MB, free: 7.055 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000678/0.02207, allocations: 136.8 kB / 282.8 MB, free: 6.918 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001933/0.02226, allocations: 43.91 kB / 282.9 MB, free: 6.875 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003173/0.02543, allocations: 1.821 MB / 284.7 MB, free: 4.953 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003231/0.02576, allocations: 43.86 kB / 284.7 MB, free: 4.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.704e-05/0.02578, allocations: 11.94 kB / 284.8 MB, free: 4.898 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.0001732/0.02596, allocations: 144.9 kB / 284.9 MB, free: 4.75 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.228e-05/0.02601, allocations: 27.86 kB / 284.9 MB, free: 4.723 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.167e-05/0.02606, allocations: 21.78 kB / 284.9 MB, free: 4.699 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.02606, allocations: 0 / 284.9 MB, free: 4.699 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.02607, allocations: 3.984 kB / 284.9 MB, free: 4.695 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.02607, allocations: 0 / 284.9 MB, free: 4.695 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002602/0.02633, allocations: 197.2 kB / 285.1 MB, free: 4.473 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.02633, allocations: 128 / 285.1 MB, free: 4.473 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.02648, allocations: 27.97 kB / 285.2 MB, free: 4.445 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005588/0.02704, allocations: 132.7 kB / 285.3 MB, free: 4.312 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.02706, allocations: 3.938 kB / 285.3 MB, free: 4.309 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002591/0.02965, allocations: 1.632 MB / 286.9 MB, free: 2.578 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.02965, allocations: 3.938 kB / 286.9 MB, free: 2.574 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001141/0.03079, allocations: 357.5 kB / 287.3 MB, free: 2.203 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.222e-05/0.03083, allocations: 23.84 kB / 287.3 MB, free: 2.18 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.738e-05/0.03087, allocations: 8.188 kB / 287.3 MB, free: 2.172 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/0.03112, allocations: 31.97 kB / 287.3 MB, free: 2.141 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.049e-05/0.03121, allocations: 23.97 kB / 287.4 MB, free: 2.117 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.667e-05/0.03124, allocations: 7.984 kB / 287.4 MB, free: 2.109 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002107/0.03145, allocations: 177.2 kB / 287.5 MB, free: 1.934 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.03145, allocations: 4 kB / 287.6 MB, free: 1.93 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003789/0.03183, allocations: 71.89 kB / 287.6 MB, free: 1.859 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.0001501/0.03198, allocations: 103.2 kB / 287.7 MB, free: 1.75 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001087/0.03306, allocations: 442.5 kB / 288.2 MB, free: 1.293 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.03307, allocations: 0 / 288.2 MB, free: 1.293 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005249/0.03359, allocations: 226.4 kB / 288.4 MB, free: 1.059 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.03392, allocations: 49.5 kB / 288.4 MB, free: 1.012 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.035, allocations: 444.8 kB / 288.9 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001542/0.03516, allocations: 134.2 kB / 289 MB, free: 404 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.902e-05/0.03526, allocations: 21.94 kB / 289 MB, free: 380 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.694e-05/0.03532, allocations: 20.5 kB / 289 MB, free: 360 kB / 266.7 MB Notification: Performance of SimCode: time 4.2e-07/0.03532, allocations: 0 / 289 MB, free: 360 kB / 266.7 MB Notification: Performance of Templates: time 0.008926/0.04425, allocations: 3.871 MB / 292.9 MB, free: 12.54 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 4.553399385069497]