Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.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.001644/0.001644, allocations: 124.5 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.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.001931/0.001931, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.469/1.469, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001729/0.001729, allocations: 43.94 kB / 373 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09857/0.1003, allocations: 53.33 MB / 426.3 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002995/0.1033, allocations: 1.494 MB / 427.8 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008879/0.1042, allocations: 0.491 MB / 428.3 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.501e-05/0.1042, allocations: 0 / 428.3 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.888e-05/0.1043, allocations: 7.922 kB / 428.3 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000142/0.1044, allocations: 7.922 kB / 428.3 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000169/0.1046, allocations: 43.89 kB / 428.4 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.1047, allocations: 47.8 kB / 428.4 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.442e-05/0.1048, allocations: 11.98 kB / 428.4 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.496e-05/0.1048, allocations: 19.88 kB / 428.4 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.87e-05/0.1049, allocations: 31.89 kB / 428.5 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.1049, allocations: 8 kB / 428.5 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.097e-05/0.1049, allocations: 4 kB / 428.5 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.894e-05/0.105, allocations: 4 kB / 428.5 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.864e-05/0.105, allocations: 23.86 kB / 428.5 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001049/0.1051, allocations: 51.8 kB / 428.6 MB, free: 2.531 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1051, allocations: 3.938 kB / 428.6 MB, free: 2.527 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1051, allocations: 0 / 428.6 MB, free: 2.527 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.298e-06/0.1051, allocations: 0 / 428.6 MB, free: 2.527 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006326/0.1057, allocations: 381.9 kB / 428.9 MB, free: 2.109 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.1058, allocations: 8.031 kB / 428.9 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.759e-05/0.1058, allocations: 34.75 kB / 429 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.702e-05/0.1058, allocations: 4.891 kB / 429 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.1061, allocations: 188.2 kB / 429.2 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.1061, allocations: 12.38 kB / 429.2 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.1061, allocations: 384 / 429.2 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003621/0.1065, allocations: 143.3 kB / 429.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.1065, allocations: 0 / 429.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.1065, allocations: 7.984 kB / 429.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.1065, allocations: 0 / 429.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.1066, allocations: 31.98 kB / 429.4 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001635/0.1068, allocations: 161.7 kB / 429.5 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002149/0.107, allocations: 131.7 kB / 429.6 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.228e-05/0.1071, allocations: 28.84 kB / 429.7 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.1071, allocations: 4 kB / 429.7 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/0.1071, allocations: 42.5 kB / 429.7 MB, free: 1.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 8.31e-07/0.1071, allocations: 0 / 429.7 MB, free: 1.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002571/0.1074, allocations: 85.56 kB / 429.8 MB, free: 1.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/0.1074, allocations: 59.41 kB / 429.9 MB, free: 1.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.992e-05/0.1075, allocations: 109.8 kB / 430 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.1076, allocations: 25.7 kB / 430 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.622e-05/0.1076, allocations: 88.14 kB / 430.1 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.526e-05/0.1076, allocations: 7.922 kB / 430.1 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.7e-05/0.1077, allocations: 29.72 kB / 430.1 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.1078, allocations: 314.8 kB / 430.4 MB, free: 432 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.104e-05/0.1078, allocations: 19.91 kB / 430.4 MB, free: 412 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.227e-05/0.1079, allocations: 41.16 kB / 430.5 MB, free: 352 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.677e-05/0.1079, allocations: 49.09 kB / 430.5 MB, free: 284 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.1079, allocations: 7.938 kB / 430.5 MB, free: 276 kB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001103/0.108, allocations: 81.84 kB / 430.6 MB, free: 188 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.1081, allocations: 8.031 kB / 430.6 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1081, allocations: 4 kB / 430.6 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.1081, allocations: 0 / 430.6 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.979e-05/0.1081, allocations: 12 kB / 430.6 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.1081, allocations: 4 kB / 430.6 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.36e-05/0.1082, allocations: 4 kB / 430.6 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.1082, allocations: 4 kB / 430.6 MB, free: 152 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,pulse.y) * Number of discrete states: 0 () * Number of clocked states: 1 (pulse.next) * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.612e-05/0.1083, allocations: 117.8 kB / 430.8 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/0.1084, allocations: 81.5 kB / 430.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.04e-05/0.1084, allocations: 8.375 kB / 430.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.1085, allocations: 0 / 430.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1085, allocations: 0 / 430.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.1085, allocations: 0 / 430.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001263/0.1086, allocations: 169.6 kB / 431 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1086, allocations: 0 / 431 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.802e-05/0.1086, allocations: 7.938 kB / 431 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.1086, allocations: 0 / 431 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.1086, allocations: 0 / 431 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1086, allocations: 3.984 kB / 431 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1086, allocations: 8 kB / 431 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001696/0.1088, allocations: 93.02 kB / 431.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.573e-05/0.1089, allocations: 89.03 kB / 431.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.1089, allocations: 4 kB / 431.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.858e-05/0.109, allocations: 11.98 kB / 431.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.304e-06/0.109, allocations: 4 kB / 431.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.109, allocations: 4 kB / 431.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.177e-05/0.109, allocations: 87.27 kB / 431.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.109, allocations: 0 / 431.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001904/0.1092, allocations: 8 kB / 431.3 MB, free: 15.36 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 (pulse.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 1 (pulse.next) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005452/0.1098, allocations: 0.6749 MB / 432 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001376/0.1099, allocations: 39.92 kB / 432 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1099, allocations: 0 / 432 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.1099, allocations: 0 / 432 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.1102, allocations: 35.95 kB / 432.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.1114, allocations: 1.247 MB / 433.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/0.1118, allocations: 0.6923 MB / 434 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.027e-05/0.1118, allocations: 4 kB / 434 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.438e-05/0.1118, allocations: 19.42 kB / 434 MB, free: 12.48 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1118, allocations: 0 / 434 MB, free: 12.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02472/0.1366, allocations: 1.668 MB / 435.7 MB, free: 10.96 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.549/7.686, allocations: 6.094 kB / 435.7 MB, free: 10.96 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedPulse/TimeBasedPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.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: 10.256179402116686]