Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.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.001355/0.001355, allocations: 121.4 kB / 17.79 MB, free: 5.121 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.001299/0.001299, allocations: 190.9 kB / 20.73 MB, free: 2.184 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.384/1.384, allocations: 225.6 MB / 249.1 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.RealSignals.AssignClock,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 55.92 kB / 365.6 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1036, allocations: 52.14 MB / 417.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002758/0.1063, allocations: 0.9613 MB / 418.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004368/0.1068, allocations: 115.6 kB / 418.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.984e-05/0.1069, allocations: 4 kB / 418.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.309e-05/0.1069, allocations: 7.875 kB / 418.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001704/0.1071, allocations: 11.92 kB / 418.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002771/0.1074, allocations: 31.92 kB / 418.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.1075, allocations: 43.89 kB / 419 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.1076, allocations: 16.17 kB / 419 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.674e-05/0.1076, allocations: 19.88 kB / 419 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.246e-05/0.1077, allocations: 15.92 kB / 419 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.1077, allocations: 7.938 kB / 419 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.113e-05/0.1077, allocations: 4 kB / 419 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.333e-05/0.1078, allocations: 15.98 kB / 419 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.866e-05/0.1078, allocations: 27.75 kB / 419.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.108, allocations: 51.73 kB / 419.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.108, allocations: 7.938 kB / 419.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.108, allocations: 0 / 419.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.88e-06/0.108, allocations: 0 / 419.1 MB, free: 11.26 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005171/0.1085, allocations: 387 kB / 419.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.1085, allocations: 11.97 kB / 419.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.529e-05/0.1086, allocations: 50.72 kB / 419.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.71e-05/0.1086, allocations: 12.89 kB / 419.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.1089, allocations: 188.3 kB / 419.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.1089, allocations: 8.359 kB / 419.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.1089, allocations: 8.375 kB / 419.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000268/0.1092, allocations: 127.6 kB / 419.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.1092, allocations: 0 / 419.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.1092, allocations: 4 kB / 419.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1092, allocations: 0 / 419.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.954e-05/0.1092, allocations: 16 kB / 419.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001672/0.1094, allocations: 173.6 kB / 420.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.1095, allocations: 62.66 kB / 420.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.021e-05/0.1096, allocations: 40.83 kB / 420.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.1096, allocations: 4 kB / 420.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.1097, allocations: 34.5 kB / 420.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.1097, allocations: 0 / 420.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000204/0.1099, allocations: 85.58 kB / 420.3 MB, free: 9.891 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.936e-05/0.1099, allocations: 59.41 kB / 420.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.11, allocations: 140.3 kB / 420.5 MB, free: 9.676 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.1101, allocations: 25.7 kB / 420.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.06e-05/0.1101, allocations: 88.14 kB / 420.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.765e-05/0.1101, allocations: 7.953 kB / 420.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.004e-05/0.1102, allocations: 25.7 kB / 420.6 MB, free: 9.516 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.1103, allocations: 314.8 kB / 421 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.143e-05/0.1103, allocations: 8 kB / 421 MB, free: 9.191 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.898e-05/0.1104, allocations: 63 kB / 421 MB, free: 9.105 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.1105, allocations: 74.75 kB / 421.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.1105, allocations: 0 / 421.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001377/0.1107, allocations: 97.38 kB / 421.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.1107, allocations: 8 kB / 421.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1107, allocations: 0 / 421.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.1107, allocations: 4.25 kB / 421.2 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.105e-05/0.1108, allocations: 19.98 kB / 421.2 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.1108, allocations: 7.938 kB / 421.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.063e-05/0.1108, allocations: 0 / 421.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.1108, allocations: 4.188 kB / 421.2 MB, free: 8.863 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 0.0001114/0.1109, allocations: 122.5 kB / 421.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.873e-05/0.111, allocations: 77.52 kB / 421.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.9e-05/0.1111, allocations: 12.72 kB / 421.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.1111, allocations: 0 / 421.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1111, allocations: 4 kB / 421.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.1111, allocations: 3.984 kB / 421.5 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/0.1112, allocations: 177.5 kB / 421.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1112, allocations: 3.938 kB / 421.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.152e-05/0.1113, allocations: 19.92 kB / 421.7 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.1113, allocations: 0 / 421.7 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.1113, allocations: 4 kB / 421.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1113, allocations: 0 / 421.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1113, allocations: 3.938 kB / 421.7 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001396/0.1114, allocations: 101.5 kB / 421.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.858e-05/0.1115, allocations: 101 kB / 421.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.1115, allocations: 0 / 421.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.686e-05/0.1116, allocations: 0 / 421.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.115e-06/0.1116, allocations: 0 / 421.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.1116, allocations: 8 kB / 421.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.539e-05/0.1117, allocations: 101.3 kB / 422 MB, free: 8.035 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1117, allocations: 3.938 kB / 422 MB, free: 8.031 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002014/0.1119, allocations: 12 kB / 422 MB, free: 8.02 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0005551/0.1124, allocations: 0.6671 MB / 422.6 MB, free: 7.324 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001529/0.1126, allocations: 47.86 kB / 422.7 MB, free: 7.277 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1126, allocations: 0 / 422.7 MB, free: 7.277 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.01e-07/0.1126, allocations: 0.5625 kB / 422.7 MB, free: 7.277 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.1129, allocations: 44 kB / 422.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.1141, allocations: 1.339 MB / 424.1 MB, free: 5.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.1144, allocations: 0.7001 MB / 424.8 MB, free: 5.043 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.896e-05/0.1145, allocations: 8 kB / 424.8 MB, free: 5.035 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.421e-05/0.1145, allocations: 19.42 kB / 424.8 MB, free: 5.016 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1145, allocations: 0 / 424.8 MB, free: 5.016 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0286/0.1431, allocations: 1.748 MB / 426.5 MB, free: 3.379 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.214/8.357, allocations: 4 kB / 426.6 MB, free: 3.375 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.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.939945654943585]