Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007927/0.0007927, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008182/0.0008182, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8742/0.8742, allocations: 177 MB / 204.1 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.175e-05/1.306e-05, allocations: 2.984 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.001439/0.001452, allocations: 0.9594 MB / 325.5 MB, free: 14.94 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002702/0.001722, allocations: 119.7 kB / 325.6 MB, free: 14.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.73e-05/0.001799, allocations: 3.938 kB / 325.6 MB, free: 14.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.164e-05/0.001841, allocations: 3.938 kB / 325.6 MB, free: 14.81 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001281/0.001969, allocations: 11.94 kB / 325.6 MB, free: 14.8 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001904/0.002159, allocations: 35.83 kB / 325.7 MB, free: 14.77 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.741e-05/0.002257, allocations: 39.91 kB / 325.7 MB, free: 14.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.281e-05/0.00235, allocations: 24.11 kB / 325.7 MB, free: 14.7 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.978e-05/0.002389, allocations: 23.91 kB / 325.7 MB, free: 14.68 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.805e-05/0.002427, allocations: 15.92 kB / 325.8 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.402e-05/0.002451, allocations: 4 kB / 325.8 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.317e-06/0.002461, allocations: 0 / 325.8 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.149e-05/0.002512, allocations: 19.92 kB / 325.8 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.992e-05/0.002542, allocations: 15.92 kB / 325.8 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.002643, allocations: 47.8 kB / 325.8 MB, free: 14.57 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.002646, allocations: 8 kB / 325.9 MB, free: 14.57 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.002648, allocations: 4 kB / 325.9 MB, free: 14.56 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.376e-06/0.002651, allocations: 0 / 325.9 MB, free: 14.56 MB / 298.7 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.0003231/0.002974, allocations: 294 kB / 326.1 MB, free: 14.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.003013, allocations: 11.98 kB / 326.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.918e-05/0.003042, allocations: 38.75 kB / 326.2 MB, free: 14.19 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.268e-05/0.003065, allocations: 12.84 kB / 326.2 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.003242, allocations: 133.7 kB / 326.3 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.003252, allocations: 384 / 326.3 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.808e-06/0.003262, allocations: 12.38 kB / 326.3 MB, free: 14.01 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002085/0.003471, allocations: 127.8 kB / 326.5 MB, free: 13.87 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.003478, allocations: 4.188 kB / 326.5 MB, free: 13.87 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.003486, allocations: 384 / 326.5 MB, free: 13.87 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.003491, allocations: 3.938 kB / 326.5 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.414e-05/0.003526, allocations: 19.92 kB / 326.5 MB, free: 13.84 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001023/0.003628, allocations: 148.6 kB / 326.6 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.003735, allocations: 58.72 kB / 326.7 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.159e-05/0.003776, allocations: 36.89 kB / 326.7 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.216e-06/0.003785, allocations: 0 / 326.7 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.003804, allocations: 34.56 kB / 326.8 MB, free: 13.51 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 6.41e-07/0.003805, allocations: 0 / 326.8 MB, free: 13.51 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001463/0.003951, allocations: 97.44 kB / 326.9 MB, free: 13.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.003993, allocations: 63.39 kB / 326.9 MB, free: 13.33 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.53e-05/0.004068, allocations: 133.3 kB / 327.1 MB, free: 13.2 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.004078, allocations: 29.7 kB / 327.1 MB, free: 13.16 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.881e-05/0.004107, allocations: 84.14 kB / 327.2 MB, free: 13.07 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.004123, allocations: 4 kB / 327.2 MB, free: 13.07 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001755/0.004298, allocations: 13.72 kB / 327.2 MB, free: 13.05 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.478e-05/0.004373, allocations: 322.8 kB / 327.5 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.486e-06/0.004382, allocations: 0 / 327.5 MB, free: 12.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.542e-06/0.004388, allocations: 8 kB / 327.5 MB, free: 12.72 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.199e-05/0.00441, allocations: 16.8 kB / 327.5 MB, free: 12.7 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.004412, allocations: 0 / 327.5 MB, free: 12.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.763e-05/0.004449, allocations: 37.66 kB / 327.6 MB, free: 12.66 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.004462, allocations: 11.92 kB / 327.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.004467, allocations: 4 kB / 327.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.004478, allocations: 8.031 kB / 327.6 MB, free: 12.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.916e-05/0.004517, allocations: 0 / 327.6 MB, free: 12.63 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.004521, allocations: 0 / 327.6 MB, free: 12.63 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.157e-06/0.00453, allocations: 8 kB / 327.6 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.888e-06/0.004534, allocations: 0 / 327.6 MB, free: 12.62 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 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 5.979e-05/0.004594, allocations: 113.8 kB / 327.7 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.59e-05/0.00465, allocations: 81.72 kB / 327.8 MB, free: 12.42 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.317e-05/0.004673, allocations: 8.781 kB / 327.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.004676, allocations: 3.938 kB / 327.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.00468, allocations: 7.984 kB / 327.8 MB, free: 12.4 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.004683, allocations: 4 kB / 327.8 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.985e-05/0.004743, allocations: 132.8 kB / 327.9 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.004744, allocations: 0 / 327.9 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.903e-05/0.004783, allocations: 15.98 kB / 328 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.01e-07/0.004784, allocations: 0 / 328 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.728e-06/0.004788, allocations: 0 / 328 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.004791, allocations: 3.938 kB / 328 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.004791, allocations: 4 kB / 328 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.343e-05/0.004865, allocations: 101 kB / 328.1 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.153e-05/0.004896, allocations: 23.86 kB / 328.1 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.004907, allocations: 4 kB / 328.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.041e-05/0.004918, allocations: 11.94 kB / 328.1 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.915e-06/0.004921, allocations: 0 / 328.1 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-06/0.004923, allocations: 0 / 328.1 MB, free: 12.04 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.21e-05/0.004965, allocations: 107.2 kB / 328.2 MB, free: 11.94 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004965, allocations: 0 / 328.2 MB, free: 11.94 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001183/0.005084, allocations: 8 kB / 328.2 MB, free: 11.93 MB / 298.7 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.0002645/0.005348, allocations: 0.6553 MB / 328.9 MB, free: 11.24 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.708e-05/0.005415, allocations: 19.98 kB / 328.9 MB, free: 11.22 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.005417, allocations: 128 / 328.9 MB, free: 11.22 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.005417, allocations: 4 kB / 328.9 MB, free: 11.22 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.005634, allocations: 54.12 kB / 328.9 MB, free: 11.17 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009431/0.006577, allocations: 1.193 MB / 330.1 MB, free: 9.891 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.029e-05/0.006627, allocations: 83.08 kB / 330.2 MB, free: 9.789 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.487e-05/0.006642, allocations: 4.125 kB / 330.2 MB, free: 9.785 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.961e-05/0.006682, allocations: 24.48 kB / 330.2 MB, free: 9.762 MB / 298.7 MB Notification: Performance of SimCode: time 2.6e-07/0.006682, allocations: 0 / 330.2 MB, free: 9.762 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01359/0.02027, allocations: 2.321 MB / 332.6 MB, free: 7.551 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.66/6.68, allocations: 8.047 kB / 332.6 MB, free: 7.543 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 8.308976637199521]