Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.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.001486/0.001486, allocations: 106 kB / 18.49 MB, free: 4.543 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.001588/0.001588, allocations: 197 kB / 21.43 MB, free: 1.609 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.386/1.386, allocations: 225.6 MB / 249.8 MB, free: 3.609 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.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 47.92 kB / 366.3 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0975/0.09897, allocations: 52.15 MB / 418.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002777/0.1018, allocations: 1.489 MB / 420 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007706/0.1025, allocations: 462.8 kB / 420.4 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.982e-05/0.1026, allocations: 0 / 420.4 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.016e-05/0.1026, allocations: 3.938 kB / 420.4 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001487/0.1028, allocations: 23.86 kB / 420.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001659/0.1029, allocations: 31.41 kB / 420.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.103, allocations: 51.84 kB / 420.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.639e-05/0.1031, allocations: 4 kB / 420.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.964e-05/0.1032, allocations: 27.91 kB / 420.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.843e-05/0.1032, allocations: 27.84 kB / 420.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.1033, allocations: 4 kB / 420.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.195e-05/0.1033, allocations: 4 kB / 420.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.073e-05/0.1033, allocations: 8 kB / 420.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.012e-05/0.1033, allocations: 27.86 kB / 420.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.1034, allocations: 55.73 kB / 420.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1034, allocations: 0 / 420.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1034, allocations: 0 / 420.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.1035, allocations: 0 / 420.7 MB, free: 10.39 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.0005985/0.1041, allocations: 379.3 kB / 421.1 MB, free: 9.973 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.1041, allocations: 12.03 kB / 421.1 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.091e-05/0.1041, allocations: 4.172 kB / 421.1 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.685e-05/0.1042, allocations: 34.75 kB / 421.1 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.669e-05/0.1042, allocations: 12.83 kB / 421.1 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.1044, allocations: 180.3 kB / 421.3 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.1044, allocations: 384 / 421.3 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.1044, allocations: 4.375 kB / 421.3 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003588/0.1048, allocations: 155 kB / 421.4 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.1048, allocations: 0 / 421.4 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.1048, allocations: 0 / 421.4 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.1048, allocations: 4 kB / 421.5 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.1049, allocations: 31.97 kB / 421.5 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001642/0.1051, allocations: 165.7 kB / 421.6 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002195/0.1053, allocations: 131.7 kB / 421.8 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.109e-05/0.1054, allocations: 24.86 kB / 421.8 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.1054, allocations: 15.89 kB / 421.8 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.1055, allocations: 38.5 kB / 421.9 MB, free: 9.027 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.1055, allocations: 0 / 421.9 MB, free: 9.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002643/0.1057, allocations: 85.67 kB / 421.9 MB, free: 8.938 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.662e-05/0.1058, allocations: 55.41 kB / 422 MB, free: 8.871 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.1059, allocations: 113.8 kB / 422.1 MB, free: 8.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.1059, allocations: 25.7 kB / 422.1 MB, free: 8.719 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.653e-05/0.1059, allocations: 92.14 kB / 422.2 MB, free: 8.625 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.344e-05/0.106, allocations: 3.938 kB / 422.2 MB, free: 8.621 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-05/0.106, allocations: 21.7 kB / 422.2 MB, free: 8.594 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.1062, allocations: 322.8 kB / 422.6 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.974e-05/0.1062, allocations: 7.938 kB / 422.6 MB, free: 8.262 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.428e-05/0.1062, allocations: 41.14 kB / 422.6 MB, free: 8.203 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.328e-05/0.1063, allocations: 61.09 kB / 422.7 MB, free: 8.125 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1063, allocations: 0 / 422.7 MB, free: 8.125 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001215/0.1064, allocations: 77.5 kB / 422.7 MB, free: 8.043 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.1064, allocations: 4 kB / 422.7 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.1064, allocations: 8.172 kB / 422.8 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.1065, allocations: 7.938 kB / 422.8 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.09e-05/0.1065, allocations: 11.94 kB / 422.8 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1065, allocations: 0 / 422.8 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.376e-05/0.1065, allocations: 11.89 kB / 422.8 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.1065, allocations: 4 kB / 422.8 MB, free: 7.996 MB / 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.564e-05/0.1066, allocations: 109.8 kB / 422.9 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/0.1068, allocations: 73.61 kB / 423 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.35e-05/0.1068, allocations: 12.38 kB / 423 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.1068, allocations: 4 kB / 423 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.1068, allocations: 0 / 423 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.1068, allocations: 3.938 kB / 423 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.1069, allocations: 165.9 kB / 423.1 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.107, allocations: 3.938 kB / 423.2 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.942e-05/0.107, allocations: 12 kB / 423.2 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.107, allocations: 0 / 423.2 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.107, allocations: 0 / 423.2 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.107, allocations: 0 / 423.2 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.107, allocations: 0 / 423.2 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001737/0.1072, allocations: 101.1 kB / 423.3 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.71e-05/0.1072, allocations: 85 kB / 423.3 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.1073, allocations: 4 kB / 423.3 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.097e-05/0.1074, allocations: 15.97 kB / 423.4 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.284e-06/0.1074, allocations: 0 / 423.4 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.1074, allocations: 4 kB / 423.4 MB, free: 7.312 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.184e-05/0.1074, allocations: 87.28 kB / 423.5 MB, free: 7.227 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1074, allocations: 3.938 kB / 423.5 MB, free: 7.223 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000195/0.1076, allocations: 12 kB / 423.5 MB, free: 7.211 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 (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.0006124/0.1082, allocations: 0.6553 MB / 424.1 MB, free: 6.527 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001361/0.1084, allocations: 43.98 kB / 424.2 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1084, allocations: 0 / 424.2 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.1084, allocations: 0 / 424.2 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.1087, allocations: 47.86 kB / 424.2 MB, free: 6.438 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.1099, allocations: 1.244 MB / 425.5 MB, free: 5.082 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.1102, allocations: 0.6922 MB / 426.1 MB, free: 4.363 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.882e-05/0.1102, allocations: 4 kB / 426.2 MB, free: 4.359 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.459e-05/0.1102, allocations: 19.38 kB / 426.2 MB, free: 4.34 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1102, allocations: 3.938 kB / 426.2 MB, free: 4.336 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01795/0.1282, allocations: 1.718 MB / 427.9 MB, free: 2.789 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.926/8.055, allocations: 16.03 kB / 427.9 MB, free: 2.773 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedPulse/TimeBasedPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.40775588498218]