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.001378/0.001378, allocations: 107.1 kB / 20.44 MB, free: 1.355 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.001404/0.001404, allocations: 212.7 kB / 23.73 MB, free: 4.531 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.425/1.425, allocations: 230.6 MB / 257.5 MB, free: 7.824 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 47.92 kB / 377.7 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2942, allocations: 53.37 MB / 431.1 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004446/0.2987, allocations: 2.605 MB / 433.7 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.3002, allocations: 0.6856 MB / 434.4 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001608/0.3003, allocations: 11.94 kB / 434.4 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001847/0.3005, allocations: 39.58 kB / 434.5 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002124/0.3007, allocations: 87.27 kB / 434.5 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000321/0.3011, allocations: 99.81 kB / 434.6 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004916/0.3016, allocations: 358.5 kB / 435 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00019/0.3017, allocations: 60.7 kB / 435 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001973/0.3019, allocations: 139.5 kB / 435.2 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002304/0.3022, allocations: 159.3 kB / 435.3 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.832e-05/0.3022, allocations: 28 kB / 435.4 MB, free: 2.375 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.513e-05/0.3023, allocations: 32 kB / 435.4 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.265e-05/0.3024, allocations: 59.77 kB / 435.5 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001716/0.3025, allocations: 123.4 kB / 435.6 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004222/0.303, allocations: 320.5 kB / 435.9 MB, free: 1.852 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.303, allocations: 4 kB / 435.9 MB, free: 1.848 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.303, allocations: 0 / 435.9 MB, free: 1.848 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.303, allocations: 0 / 435.9 MB, free: 1.848 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.00142/0.3044, allocations: 0.5741 MB / 436.5 MB, free: 1.238 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.3044, allocations: 8.031 kB / 436.5 MB, free: 1.23 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.2e-05/0.3045, allocations: 54.73 kB / 436.5 MB, free: 1.168 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.883e-05/0.3046, allocations: 36.75 kB / 436.6 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004713/0.3051, allocations: 237.8 kB / 436.8 MB, free: 0.875 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/0.3051, allocations: 12.81 kB / 436.8 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.041e-05/0.3051, allocations: 24.31 kB / 436.8 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006874/0.3058, allocations: 329.3 kB / 437.2 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.3058, allocations: 4 kB / 437.2 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.601e-05/0.3059, allocations: 4 kB / 437.2 MB, free: 500 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.3059, allocations: 8 kB / 437.2 MB, free: 492 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007625/0.3066, allocations: 245.5 kB / 437.4 MB, free: 244 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001683/0.3083, allocations: 0.8513 MB / 438.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000835/0.3091, allocations: 230.6 kB / 438.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003157/0.3095, allocations: 100.7 kB / 438.6 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.3095, allocations: 0 / 438.6 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005095/0.31, allocations: 233.2 kB / 438.8 MB, free: 14.72 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.173e-06/0.31, allocations: 0 / 438.8 MB, free: 14.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.00228/0.3123, allocations: 0.5796 MB / 439.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.228e-05/0.3124, allocations: 110.8 kB / 439.5 MB, free: 14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003283/0.3127, allocations: 261.8 kB / 439.8 MB, free: 13.74 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.142e-05/0.3127, allocations: 37.69 kB / 439.8 MB, free: 13.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.3129, allocations: 172.1 kB / 440 MB, free: 13.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.239e-05/0.3129, allocations: 43.64 kB / 440 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.777e-05/0.313, allocations: 41.7 kB / 440 MB, free: 13.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.3132, allocations: 334.8 kB / 440.4 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003558/0.3135, allocations: 129.6 kB / 440.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004314/0.314, allocations: 251.2 kB / 440.7 MB, free: 12.67 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006728/0.3146, allocations: 264.4 kB / 441 MB, free: 12.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.3146, allocations: 0 / 441 MB, free: 12.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001236/0.3159, allocations: 467.7 kB / 441.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.494e-05/0.3159, allocations: 29.7 kB / 441.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.3159, allocations: 4 kB / 441.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004034/0.3163, allocations: 80.86 kB / 441.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.3165, allocations: 47.89 kB / 441.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002958/0.3195, allocations: 1.839 MB / 443.5 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003701/0.3199, allocations: 43.86 kB / 443.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.127e-05/0.3199, allocations: 20.05 kB / 443.5 MB, free: 9.719 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.0002173/0.3201, allocations: 141.8 kB / 443.7 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.091e-05/0.3202, allocations: 27.8 kB / 443.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.611e-05/0.3202, allocations: 25.77 kB / 443.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3202, allocations: 4 kB / 443.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.3202, allocations: 0 / 443.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.3202, allocations: 0 / 443.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003173/0.3206, allocations: 232.6 kB / 443.9 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.3206, allocations: 0 / 443.9 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.3207, allocations: 23.97 kB / 444 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002785/0.321, allocations: 80.81 kB / 444 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.321, allocations: 7.984 kB / 444 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002319/0.3234, allocations: 1.643 MB / 445.7 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3234, allocations: 0 / 445.7 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.3244, allocations: 357.6 kB / 446 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.627e-05/0.3245, allocations: 35.78 kB / 446.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.879e-05/0.3245, allocations: 3.984 kB / 446.1 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002702/0.3248, allocations: 31.97 kB / 446.1 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.154e-05/0.3249, allocations: 19.97 kB / 446.1 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.3249, allocations: 3.984 kB / 446.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002091/0.3251, allocations: 189.2 kB / 446.3 MB, free: 6.727 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3251, allocations: 0 / 446.3 MB, free: 6.727 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003778/0.3255, allocations: 75.84 kB / 446.4 MB, free: 6.652 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.001458/0.327, allocations: 0.894 MB / 447.3 MB, free: 5.723 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001021/0.328, allocations: 423.5 kB / 447.7 MB, free: 5.277 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.328, allocations: 4 kB / 447.7 MB, free: 5.273 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004824/0.3285, allocations: 230.9 kB / 447.9 MB, free: 5.035 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.3288, allocations: 49.52 kB / 448 MB, free: 4.992 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005345/0.3342, allocations: 3.053 MB / 451 MB, free: 1.781 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001388/0.3343, allocations: 142.1 kB / 451.2 MB, free: 1.625 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001165/0.3344, allocations: 30.27 kB / 451.2 MB, free: 1.598 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.3346, allocations: 79.36 kB / 451.3 MB, free: 1.52 MB / 350.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3346, allocations: 0 / 451.3 MB, free: 1.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03838/0.3729, allocations: 7.11 MB / 458.4 MB, free: 10.6 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/12.99, allocations: 14.75 kB / 458.4 MB, free: 10.59 MB / 366.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","/var/lib/jenkins1/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: 15.306383789982647]