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.001189/0.001189, allocations: 123.2 kB / 17.79 MB, free: 5.246 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.001221/0.001221, allocations: 186.9 kB / 20.73 MB, free: 2.316 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.347/1.347, allocations: 225.6 MB / 249.1 MB, free: 3.621 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 47.92 kB / 365.7 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1037, allocations: 52.15 MB / 417.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004233/0.108, allocations: 2.766 MB / 420.6 MB, free: 9.801 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.1093, allocations: 0.6777 MB / 421.3 MB, free: 9.117 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001386/0.1094, allocations: 4 kB / 421.3 MB, free: 9.113 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001531/0.1095, allocations: 47.56 kB / 421.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002119/0.1098, allocations: 91.19 kB / 421.4 MB, free: 8.977 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002984/0.1101, allocations: 95.88 kB / 421.5 MB, free: 8.883 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004131/0.1105, allocations: 358.5 kB / 421.8 MB, free: 8.531 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001717/0.1106, allocations: 57.42 kB / 421.9 MB, free: 8.473 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001816/0.1108, allocations: 135.5 kB / 422 MB, free: 8.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002046/0.111, allocations: 151.3 kB / 422.2 MB, free: 8.191 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.108e-05/0.1111, allocations: 28 kB / 422.2 MB, free: 8.164 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.903e-05/0.1111, allocations: 32 kB / 422.2 MB, free: 8.133 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.942e-05/0.1112, allocations: 63.69 kB / 422.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001636/0.1114, allocations: 147.3 kB / 422.4 MB, free: 7.926 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004246/0.1118, allocations: 326.6 kB / 422.8 MB, free: 7.605 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1118, allocations: 3.938 kB / 422.8 MB, free: 7.602 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1118, allocations: 0 / 422.8 MB, free: 7.602 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.1118, allocations: 0 / 422.8 MB, free: 7.602 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.001368/0.1132, allocations: 0.6455 MB / 423.4 MB, free: 6.902 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.1132, allocations: 12.03 kB / 423.4 MB, free: 6.891 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.807e-05/0.1133, allocations: 54.73 kB / 423.5 MB, free: 6.828 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.314e-05/0.1134, allocations: 32.75 kB / 423.5 MB, free: 6.797 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004664/0.1138, allocations: 275.8 kB / 423.8 MB, free: 6.488 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.678e-05/0.1139, allocations: 16.81 kB / 423.8 MB, free: 6.473 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.223e-05/0.1139, allocations: 20.38 kB / 423.8 MB, free: 6.453 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006618/0.1146, allocations: 289.8 kB / 424.1 MB, free: 6.156 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.1146, allocations: 3.984 kB / 424.1 MB, free: 6.152 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.667e-05/0.1146, allocations: 12 kB / 424.1 MB, free: 6.141 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.1146, allocations: 4 kB / 424.1 MB, free: 6.137 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007355/0.1154, allocations: 245.6 kB / 424.4 MB, free: 5.895 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001645/0.117, allocations: 0.9521 MB / 425.3 MB, free: 4.871 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008828/0.1179, allocations: 230.5 kB / 425.5 MB, free: 4.637 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003949/0.1183, allocations: 100.8 kB / 425.6 MB, free: 4.535 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.1183, allocations: 0 / 425.6 MB, free: 4.535 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004631/0.1188, allocations: 181.7 kB / 425.8 MB, free: 4.336 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.273e-06/0.1188, allocations: 0 / 425.8 MB, free: 4.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002267/0.121, allocations: 0.6536 MB / 426.5 MB, free: 3.656 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.193e-05/0.1211, allocations: 106.8 kB / 426.6 MB, free: 3.527 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002968/0.1214, allocations: 270.5 kB / 426.8 MB, free: 3.258 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.953e-05/0.1215, allocations: 25.7 kB / 426.9 MB, free: 3.227 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.1216, allocations: 184.1 kB / 427 MB, free: 3.043 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.232e-05/0.1216, allocations: 43.64 kB / 427.1 MB, free: 3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.762e-05/0.1217, allocations: 49.7 kB / 427.1 MB, free: 2.945 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.1219, allocations: 326.8 kB / 427.5 MB, free: 2.617 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003273/0.1222, allocations: 99.91 kB / 427.5 MB, free: 2.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003755/0.1226, allocations: 168.5 kB / 427.7 MB, free: 2.324 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006502/0.1232, allocations: 260.4 kB / 428 MB, free: 2.039 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1232, allocations: 0 / 428 MB, free: 2.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001186/0.1244, allocations: 437.4 kB / 428.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.716e-05/0.1245, allocations: 33.7 kB / 428.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1245, allocations: 0 / 428.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003737/0.1248, allocations: 84.8 kB / 428.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.125, allocations: 35.97 kB / 428.5 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002801/0.1278, allocations: 1.955 MB / 430.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003291/0.1282, allocations: 55.86 kB / 430.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.1282, allocations: 4 kB / 430.6 MB, free: 15.29 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.0001752/0.1283, allocations: 149.1 kB / 430.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-05/0.1284, allocations: 23.8 kB / 430.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.626e-05/0.1284, allocations: 29.77 kB / 430.8 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1284, allocations: 0 / 430.8 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.1284, allocations: 0 / 430.8 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.1284, allocations: 7.984 kB / 430.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003118/0.1288, allocations: 297.4 kB / 431.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1288, allocations: 0 / 431.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.1289, allocations: 23.97 kB / 431.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002747/0.1292, allocations: 80.69 kB / 431.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.509e-05/0.1292, allocations: 11.92 kB / 431.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00239/0.1316, allocations: 1.754 MB / 432.9 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1316, allocations: 3.938 kB / 432.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.1326, allocations: 353.6 kB / 433.3 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.164e-05/0.1327, allocations: 112.8 kB / 433.4 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.247e-05/0.1327, allocations: 0 / 433.4 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002374/0.133, allocations: 35.95 kB / 433.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.872e-05/0.133, allocations: 15.98 kB / 433.4 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.909e-05/0.1331, allocations: 11.98 kB / 433.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002005/0.1333, allocations: 190 kB / 433.6 MB, free: 11.97 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1333, allocations: 0 / 433.6 MB, free: 11.97 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003542/0.1336, allocations: 71.89 kB / 433.7 MB, free: 11.9 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.001465/0.1351, allocations: 0.8929 MB / 434.6 MB, free: 10.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009675/0.136, allocations: 405.9 kB / 435 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.136, allocations: 0 / 435 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004582/0.1365, allocations: 230.8 kB / 435.2 MB, free: 10.31 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.1368, allocations: 44.61 kB / 435.3 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00505/0.1419, allocations: 2.931 MB / 438.2 MB, free: 7.199 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003978/0.1423, allocations: 0.744 MB / 438.9 MB, free: 6.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001037/0.1424, allocations: 26.28 kB / 439 MB, free: 6.402 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.1425, allocations: 79.34 kB / 439 MB, free: 6.324 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1425, allocations: 0 / 439 MB, free: 6.324 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1512/0.2937, allocations: 6.369 MB / 445.4 MB, free: 136 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.34, allocations: 12.59 kB / 445.4 MB, free: 124 kB / 366.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 52.5] 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: 14.783620215952396]