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.00261/0.00261, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.002273/0.002273, allocations: 207 kB / 23.73 MB, free: 4.387 MB / 14.72 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.562/1.562, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 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 0.001877/0.001877, allocations: 51.92 kB / 378.2 MB, free: 2.422 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3288, allocations: 53.36 MB / 431.6 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004911/0.3337, allocations: 2.611 MB / 434.2 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001431/0.3352, allocations: 0.6739 MB / 434.9 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001431/0.3353, allocations: 7.938 kB / 434.9 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001457/0.3355, allocations: 39.58 kB / 434.9 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002081/0.3357, allocations: 103.2 kB / 435 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000265/0.3359, allocations: 99.81 kB / 435.1 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004053/0.3363, allocations: 350.5 kB / 435.5 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001746/0.3365, allocations: 64.69 kB / 435.5 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001752/0.3367, allocations: 135.5 kB / 435.7 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000187/0.3369, allocations: 151.3 kB / 435.8 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.372e-05/0.3369, allocations: 32 kB / 435.9 MB, free: 2.438 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.126e-05/0.337, allocations: 28 kB / 435.9 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.962e-05/0.337, allocations: 59.77 kB / 435.9 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00014/0.3372, allocations: 127.4 kB / 436.1 MB, free: 2.227 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003738/0.3376, allocations: 333 kB / 436.4 MB, free: 1.906 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3376, allocations: 0 / 436.4 MB, free: 1.906 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3376, allocations: 0 / 436.4 MB, free: 1.906 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.3376, allocations: 0 / 436.4 MB, free: 1.906 MB / 334.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.001228/0.3388, allocations: 0.5702 MB / 437 MB, free: 1.301 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.3388, allocations: 12.03 kB / 437 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.194e-05/0.3389, allocations: 32.73 kB / 437 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003969/0.3393, allocations: 225.9 kB / 437.2 MB, free: 1.012 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.3393, allocations: 12.81 kB / 437.2 MB, free: 1 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.89e-05/0.3394, allocations: 32.31 kB / 437.3 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000659/0.34, allocations: 325.5 kB / 437.6 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.34, allocations: 0 / 437.6 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.649e-05/0.3401, allocations: 8 kB / 437.6 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.3401, allocations: 4 kB / 437.6 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007468/0.3408, allocations: 245.6 kB / 437.8 MB, free: 384 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001521/0.3423, allocations: 0.8127 MB / 438.6 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008089/0.3431, allocations: 234.5 kB / 438.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000315/0.3435, allocations: 96.78 kB / 439 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.3435, allocations: 0 / 439 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004847/0.344, allocations: 233.2 kB / 439.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.382e-06/0.344, allocations: 0 / 439.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002232/0.3462, allocations: 0.5834 MB / 439.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.805e-05/0.3463, allocations: 106.8 kB / 439.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002694/0.3465, allocations: 253 kB / 440.1 MB, free: 13.94 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.539e-05/0.3466, allocations: 29.7 kB / 440.2 MB, free: 13.9 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.3467, allocations: 180.2 kB / 440.3 MB, free: 13.72 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.085e-05/0.3468, allocations: 55.62 kB / 440.4 MB, free: 13.67 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.128e-05/0.3468, allocations: 41.7 kB / 440.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.347, allocations: 334.8 kB / 440.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003539/0.3474, allocations: 121.6 kB / 440.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000424/0.3478, allocations: 253.5 kB / 441.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006884/0.3485, allocations: 264.4 kB / 441.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.3485, allocations: 0 / 441.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001195/0.3497, allocations: 467.9 kB / 441.8 MB, free: 12.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.899e-05/0.3497, allocations: 37.64 kB / 441.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.3497, allocations: 0 / 441.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003681/0.3501, allocations: 80.86 kB / 442 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/0.3503, allocations: 35.97 kB / 442 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002623/0.3529, allocations: 1.82 MB / 443.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00029/0.3532, allocations: 47.84 kB / 443.9 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.3532, allocations: 11.98 kB / 443.9 MB, free: 9.953 MB / 350.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.0001495/0.3534, allocations: 144.4 kB / 444 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.703e-05/0.3534, allocations: 23.86 kB / 444 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.282e-05/0.3534, allocations: 21.98 kB / 444.1 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.3534, allocations: 8.062 kB / 444.1 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.3534, allocations: 7.875 kB / 444.1 MB, free: 9.742 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3535, allocations: 0 / 444.1 MB, free: 9.742 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000221/0.3537, allocations: 201.2 kB / 444.3 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.3537, allocations: 3.984 kB / 444.3 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001309/0.3538, allocations: 27.91 kB / 444.3 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002533/0.3541, allocations: 76.8 kB / 444.4 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.3541, allocations: 8.125 kB / 444.4 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002203/0.3563, allocations: 1.62 MB / 446 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3563, allocations: 4.062 kB / 446 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.3573, allocations: 357.5 kB / 446.4 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.377e-05/0.3574, allocations: 27.78 kB / 446.4 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.068e-05/0.3574, allocations: 0 / 446.4 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002251/0.3576, allocations: 35.97 kB / 446.4 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.123e-05/0.3577, allocations: 19.97 kB / 446.4 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.3577, allocations: 11.92 kB / 446.5 MB, free: 7.207 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002038/0.3579, allocations: 180.5 kB / 446.6 MB, free: 7.031 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3579, allocations: 0 / 446.6 MB, free: 7.031 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003549/0.3583, allocations: 71.89 kB / 446.7 MB, free: 6.961 MB / 350.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.0001567/0.3584, allocations: 99.25 kB / 446.8 MB, free: 6.852 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001037/0.3595, allocations: 427.5 kB / 447.2 MB, free: 6.402 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3595, allocations: 0 / 447.2 MB, free: 6.402 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005001/0.36, allocations: 231 kB / 447.4 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.3603, allocations: 43.02 kB / 447.5 MB, free: 6.125 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.3615, allocations: 467.5 kB / 447.9 MB, free: 5.641 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001849/0.3617, allocations: 138.2 kB / 448.1 MB, free: 5.484 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.934e-05/0.3618, allocations: 21.94 kB / 448.1 MB, free: 5.465 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.053e-05/0.3618, allocations: 19.44 kB / 448.1 MB, free: 5.445 MB / 350.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3618, allocations: 0 / 448.1 MB, free: 5.445 MB / 350.1 MB Notification: Performance of Templates: time 0.009663/0.3715, allocations: 4.151 MB / 452.3 MB, free: 1.355 MB / 350.1 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.81350358389318]