Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.0016/0.0016, allocations: 124.8 kB / 17.79 MB, free: 5.266 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.001725/0.001725, allocations: 186.9 kB / 20.73 MB, free: 2.332 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.37/1.37, 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.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 47.92 kB / 365.6 MB, free: 0.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09963/0.1012, allocations: 52.15 MB / 417.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002702/0.1039, allocations: 1.497 MB / 419.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003523/0.1042, allocations: 139.5 kB / 419.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.958e-05/0.1043, allocations: 3.938 kB / 419.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.774e-05/0.1043, allocations: 0 / 419.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.1044, allocations: 11.92 kB / 419.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002121/0.1046, allocations: 35.84 kB / 419.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.564e-05/0.1047, allocations: 31.86 kB / 419.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.66e-05/0.1048, allocations: 8 kB / 419.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.561e-05/0.1049, allocations: 19.91 kB / 419.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.584e-05/0.1049, allocations: 11.94 kB / 419.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.1049, allocations: 0 / 419.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.828e-06/0.1049, allocations: 4 kB / 419.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.507e-05/0.105, allocations: 15.92 kB / 419.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.485e-05/0.105, allocations: 11.88 kB / 419.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.72e-05/0.1051, allocations: 47.75 kB / 419.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.1051, allocations: 0 / 419.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1051, allocations: 0 / 419.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.1051, allocations: 0 / 419.6 MB, free: 10.8 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004336/0.1055, allocations: 359.2 kB / 420 MB, free: 10.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.1056, allocations: 16.03 kB / 420 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.759e-05/0.1056, allocations: 30.75 kB / 420 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.363e-05/0.1056, allocations: 8.891 kB / 420 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.1059, allocations: 192.2 kB / 420.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.1059, allocations: 4.312 kB / 420.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.1059, allocations: 4.375 kB / 420.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.1061, allocations: 97.61 kB / 420.3 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.1061, allocations: 3.938 kB / 420.3 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-06/0.1061, allocations: 0 / 420.3 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.1061, allocations: 0 / 420.3 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.973e-05/0.1062, allocations: 11.98 kB / 420.3 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003129/0.1065, allocations: 253.8 kB / 420.6 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.235e-05/0.1065, allocations: 49.08 kB / 420.6 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.087e-05/0.1066, allocations: 17.78 kB / 420.6 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.1066, allocations: 0 / 420.6 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.1066, allocations: 30.56 kB / 420.7 MB, free: 9.539 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.1066, allocations: 0 / 420.7 MB, free: 9.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002112/0.1068, allocations: 65.58 kB / 420.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.282e-05/0.1069, allocations: 81.05 kB / 420.8 MB, free: 9.371 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.107, allocations: 136.2 kB / 420.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.107, allocations: 29.64 kB / 421 MB, free: 9.195 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.14e-05/0.1071, allocations: 84.14 kB / 421 MB, free: 9.109 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.164e-06/0.1071, allocations: 4 kB / 421.1 MB, free: 9.105 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-05/0.1071, allocations: 17.97 kB / 421.1 MB, free: 9.082 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.1072, allocations: 314.8 kB / 421.4 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.783e-05/0.1073, allocations: 7.984 kB / 421.4 MB, free: 8.758 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.601e-05/0.1073, allocations: 13.72 kB / 421.4 MB, free: 8.738 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.045e-05/0.1073, allocations: 25.7 kB / 421.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1073, allocations: 8 kB / 421.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.664e-05/0.1074, allocations: 49.59 kB / 421.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.1074, allocations: 7.984 kB / 421.5 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.1074, allocations: 0 / 421.5 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.1075, allocations: 0 / 421.5 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.297e-05/0.1075, allocations: 4 kB / 421.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-06/0.1075, allocations: 0 / 421.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.226e-05/0.1075, allocations: 0 / 421.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.1075, allocations: 7.984 kB / 421.5 MB, free: 8.625 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 9.304e-05/0.1076, allocations: 125.8 kB / 421.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.527e-05/0.1077, allocations: 37.64 kB / 421.7 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.947e-05/0.1077, allocations: 11.53 kB / 421.7 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.1077, allocations: 3.938 kB / 421.7 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1077, allocations: 0 / 421.7 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.1077, allocations: 4 kB / 421.7 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.1079, allocations: 165.6 kB / 421.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1079, allocations: 0 / 421.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.38e-06/0.1079, allocations: 0 / 421.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.1079, allocations: 4.031 kB / 421.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.1079, allocations: 0 / 421.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.1079, allocations: 4 kB / 421.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1079, allocations: 0 / 421.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001449/0.108, allocations: 156.2 kB / 422 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.342e-05/0.1081, allocations: 89.03 kB / 422.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.1081, allocations: 12.03 kB / 422.1 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.094e-05/0.1082, allocations: 0 / 422.1 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3e-05/0.1082, allocations: 7.984 kB / 422.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.207e-06/0.1082, allocations: 4 kB / 422.1 MB, free: 7.906 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.955e-05/0.1083, allocations: 95.27 kB / 422.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1083, allocations: 0 / 422.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002067/0.1085, allocations: 4 kB / 422.2 MB, free: 7.809 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0004348/0.1089, allocations: 0.6936 MB / 422.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001037/0.109, allocations: 23.92 kB / 422.9 MB, free: 7.062 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.109, allocations: 0 / 422.9 MB, free: 7.062 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.248e-05/0.1091, allocations: 4 kB / 422.9 MB, free: 7.059 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.1093, allocations: 22 kB / 423 MB, free: 7.039 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.1105, allocations: 1.248 MB / 424.2 MB, free: 5.699 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.1108, allocations: 0.6844 MB / 424.9 MB, free: 4.988 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.108e-05/0.1108, allocations: 7.984 kB / 424.9 MB, free: 4.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.901e-05/0.1108, allocations: 11.47 kB / 424.9 MB, free: 4.969 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1108, allocations: 0 / 424.9 MB, free: 4.969 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0237/0.1345, allocations: 1.38 MB / 426.3 MB, free: 3.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.674/7.809, allocations: 9.203 kB / 426.3 MB, free: 3.723 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.231286006979644]