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.001434/0.001434, allocations: 83.59 kB / 20.68 MB, free: 1.035 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.001841/0.001841, allocations: 168.2 kB / 23.96 MB, free: 4.16 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.478/1.478, allocations: 177.1 MB / 204.3 MB, free: 9.207 MB / 190.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 2.655e-06/2.655e-06, allocations: 0 / 325.1 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.817e-05/3.083e-05, allocations: 9.172 kB / 325.1 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004453/0.004484, allocations: 2.617 MB / 327.7 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001791/0.006275, allocations: 0.6834 MB / 328.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003215/0.006596, allocations: 4.344 kB / 328.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002171/0.006813, allocations: 44.42 kB / 328.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004003/0.007214, allocations: 96.45 kB / 328.6 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004556/0.007669, allocations: 109.5 kB / 328.7 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006131/0.008282, allocations: 359 kB / 329 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002039/0.008486, allocations: 61.27 kB / 329.1 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004159/0.008902, allocations: 195.1 kB / 329.3 MB, free: 13.81 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002733/0.009175, allocations: 112 kB / 329.4 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.124e-05/0.009257, allocations: 28.97 kB / 329.4 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.759e-05/0.009334, allocations: 29.91 kB / 329.4 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.692e-05/0.009421, allocations: 62.62 kB / 329.5 MB, free: 13.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001942/0.009615, allocations: 106.6 kB / 329.6 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005134/0.01013, allocations: 333.5 kB / 329.9 MB, free: 13.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.01013, allocations: 0.7969 kB / 329.9 MB, free: 13.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.01013, allocations: 4 kB / 329.9 MB, free: 13.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.341e-05/0.01015, allocations: 0 / 329.9 MB, free: 13.55 MB / 302.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.001521/0.01167, allocations: 0.5766 MB / 330.5 MB, free: 13.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.01171, allocations: 9.969 kB / 330.5 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/0.01182, allocations: 32.31 kB / 330.5 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004495/0.01227, allocations: 224.3 kB / 330.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/0.0123, allocations: 13.47 kB / 330.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.472e-05/0.01234, allocations: 22.75 kB / 330.8 MB, free: 12.88 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008039/0.01314, allocations: 333.1 kB / 331.1 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.01316, allocations: 192 / 331.1 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.216e-05/0.01319, allocations: 6.562 kB / 331.1 MB, free: 12.63 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.0132, allocations: 9.469 kB / 331.1 MB, free: 12.63 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008394/0.01404, allocations: 245.3 kB / 331.4 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001795/0.01584, allocations: 0.8036 MB / 332.2 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009088/0.01675, allocations: 238.2 kB / 332.4 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003533/0.0171, allocations: 94.47 kB / 332.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.01713, allocations: 1.531 kB / 332.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005434/0.01767, allocations: 237.6 kB / 332.7 MB, free: 11.47 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.01767, allocations: 1.406 kB / 332.7 MB, free: 11.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.002605/0.02028, allocations: 0.5751 MB / 333.3 MB, free: 11.21 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.682e-05/0.02037, allocations: 106.1 kB / 333.4 MB, free: 11.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003505/0.02072, allocations: 258.7 kB / 333.7 MB, free: 10.9 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.771e-05/0.02077, allocations: 32.23 kB / 333.7 MB, free: 10.87 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.02093, allocations: 182.6 kB / 333.9 MB, free: 10.7 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.894e-05/0.02098, allocations: 41.36 kB / 333.9 MB, free: 10.66 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.02112, allocations: 49.8 kB / 334 MB, free: 10.62 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.0213, allocations: 327.8 kB / 334.3 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004134/0.02171, allocations: 131.9 kB / 334.4 MB, free: 10.22 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005064/0.02222, allocations: 242.8 kB / 334.7 MB, free: 9.996 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008348/0.02306, allocations: 276.4 kB / 334.9 MB, free: 9.801 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.02306, allocations: 0 / 334.9 MB, free: 9.801 MB / 302.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001434/0.02449, allocations: 450.5 kB / 335.4 MB, free: 9.543 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.598e-05/0.02454, allocations: 43.33 kB / 335.4 MB, free: 9.504 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.006e-06/0.02455, allocations: 1.438 kB / 335.4 MB, free: 9.504 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004194/0.02497, allocations: 77.3 kB / 335.5 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002142/0.02518, allocations: 46.92 kB / 335.5 MB, free: 9.449 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003217/0.0284, allocations: 1.812 MB / 337.4 MB, free: 7.844 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000372/0.02877, allocations: 48.77 kB / 337.4 MB, free: 7.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.064e-05/0.02881, allocations: 14.66 kB / 337.4 MB, free: 7.812 MB / 302.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.0002037/0.02901, allocations: 139.5 kB / 337.5 MB, free: 7.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.917e-05/0.02907, allocations: 22.17 kB / 337.6 MB, free: 7.668 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.723e-05/0.02913, allocations: 26.67 kB / 337.6 MB, free: 7.652 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-06/0.02914, allocations: 6.406 kB / 337.6 MB, free: 7.648 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.02914, allocations: 0 / 337.6 MB, free: 7.648 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.02914, allocations: 0 / 337.6 MB, free: 7.648 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003052/0.02945, allocations: 204 kB / 337.8 MB, free: 7.461 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.02945, allocations: 1.094 kB / 337.8 MB, free: 7.461 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.0296, allocations: 17.67 kB / 337.8 MB, free: 7.457 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003019/0.0299, allocations: 79.45 kB / 337.9 MB, free: 7.418 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.02992, allocations: 5.406 kB / 337.9 MB, free: 7.414 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0027/0.03262, allocations: 1.63 MB / 339.5 MB, free: 5.973 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.03262, allocations: 1.062 kB / 339.5 MB, free: 5.973 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/0.03384, allocations: 353.1 kB / 339.9 MB, free: 5.746 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.927e-05/0.03391, allocations: 23.78 kB / 339.9 MB, free: 5.723 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.588e-05/0.03396, allocations: 11.94 kB / 339.9 MB, free: 5.711 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002726/0.03423, allocations: 31.95 kB / 339.9 MB, free: 5.68 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.03434, allocations: 19.97 kB / 340 MB, free: 5.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.03436, allocations: 4 kB / 340 MB, free: 5.656 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002214/0.03458, allocations: 185.2 kB / 340.1 MB, free: 5.477 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.03458, allocations: 0 / 340.1 MB, free: 5.477 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004364/0.03501, allocations: 71.89 kB / 340.2 MB, free: 5.406 MB / 302.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.0001732/0.03519, allocations: 107.1 kB / 340.3 MB, free: 5.293 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001216/0.0364, allocations: 440.5 kB / 340.8 MB, free: 4.832 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.03641, allocations: 0 / 340.8 MB, free: 4.832 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005386/0.03694, allocations: 226.9 kB / 341 MB, free: 4.598 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.03729, allocations: 51.59 kB / 341 MB, free: 4.551 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.03852, allocations: 437.2 kB / 341.5 MB, free: 4.102 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.03876, allocations: 138.2 kB / 341.6 MB, free: 3.941 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001035/0.03886, allocations: 25.92 kB / 341.6 MB, free: 3.918 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.132e-05/0.03893, allocations: 20.48 kB / 341.6 MB, free: 3.898 MB / 302.1 MB Notification: Performance of SimCode: time 8.01e-07/0.03894, allocations: 4 kB / 341.6 MB, free: 3.895 MB / 302.1 MB Notification: Performance of Templates: time 0.01278/0.05171, allocations: 3.83 MB / 345.5 MB, free: 120 kB / 302.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.494132570922375]