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.001462/0.001462, allocations: 118.2 kB / 18.49 MB, free: 4.535 MB / 14.72 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.001487/0.001487, allocations: 222.3 kB / 21.46 MB, free: 1.582 MB / 14.72 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 1.691/1.691, allocations: 230.4 MB / 254.7 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 63.91 kB / 373.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1272, allocations: 53.37 MB / 427.1 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002416/0.1296, allocations: 0.9523 MB / 428 MB, free: 3.656 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004034/0.13, allocations: 115.7 kB / 428.1 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.991e-05/0.1301, allocations: 3.938 kB / 428.1 MB, free: 3.539 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.029e-05/0.1301, allocations: 3.938 kB / 428.2 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001423/0.1303, allocations: 11.92 kB / 428.2 MB, free: 3.523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002537/0.1305, allocations: 39.89 kB / 428.2 MB, free: 3.484 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.1307, allocations: 35.86 kB / 428.2 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.1308, allocations: 20.17 kB / 428.3 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.696e-05/0.1308, allocations: 11.94 kB / 428.3 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.579e-05/0.1309, allocations: 19.86 kB / 428.3 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.1309, allocations: 8 kB / 428.3 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.236e-05/0.1309, allocations: 4 kB / 428.3 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.68e-05/0.131, allocations: 15.92 kB / 428.3 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.564e-05/0.131, allocations: 31.8 kB / 428.3 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.1311, allocations: 55.69 kB / 428.4 MB, free: 3.281 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1312, allocations: 3.938 kB / 428.4 MB, free: 3.277 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1312, allocations: 0 / 428.4 MB, free: 3.277 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.1312, allocations: 0 / 428.4 MB, free: 3.277 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.0005142/0.1317, allocations: 383 kB / 428.8 MB, free: 2.855 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.1317, allocations: 16.03 kB / 428.8 MB, free: 2.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.364e-05/0.1317, allocations: 192 / 428.8 MB, free: 2.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.715e-05/0.1318, allocations: 38.73 kB / 428.8 MB, free: 2.793 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.898e-05/0.1318, allocations: 8.891 kB / 428.8 MB, free: 2.785 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/0.1321, allocations: 196.2 kB / 429 MB, free: 2.555 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.1321, allocations: 12.36 kB / 429 MB, free: 2.543 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.1321, allocations: 4.375 kB / 429 MB, free: 2.539 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003017/0.1324, allocations: 131.4 kB / 429.2 MB, free: 2.398 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.1324, allocations: 0 / 429.2 MB, free: 2.398 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.1324, allocations: 0 / 429.2 MB, free: 2.398 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.1325, allocations: 4 kB / 429.2 MB, free: 2.395 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.352e-05/0.1325, allocations: 15.98 kB / 429.2 MB, free: 2.379 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001769/0.1327, allocations: 177.5 kB / 429.4 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.1328, allocations: 62.66 kB / 429.4 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.865e-05/0.1329, allocations: 36.88 kB / 429.5 MB, free: 2.047 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.287e-06/0.1329, allocations: 4 kB / 429.5 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.1329, allocations: 38.5 kB / 429.5 MB, free: 1.996 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.1329, allocations: 0 / 429.5 MB, free: 1.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002003/0.1331, allocations: 89.72 kB / 429.6 MB, free: 1.902 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.804e-05/0.1332, allocations: 59.41 kB / 429.7 MB, free: 1.832 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.1333, allocations: 140.2 kB / 429.8 MB, free: 1.688 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.1333, allocations: 25.7 kB / 429.8 MB, free: 1.656 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.423e-05/0.1334, allocations: 84.14 kB / 429.9 MB, free: 1.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/0.1334, allocations: 8 kB / 429.9 MB, free: 1.562 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.759e-05/0.1334, allocations: 21.7 kB / 429.9 MB, free: 1.535 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.1335, allocations: 318.8 kB / 430.2 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.025e-05/0.1336, allocations: 7.984 kB / 430.2 MB, free: 1.207 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.678e-05/0.1336, allocations: 62.81 kB / 430.3 MB, free: 1.121 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.348e-05/0.1337, allocations: 78.8 kB / 430.4 MB, free: 1.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1337, allocations: 0 / 430.4 MB, free: 1.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001308/0.1338, allocations: 93.58 kB / 430.5 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.1339, allocations: 8 kB / 430.5 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.1339, allocations: 192 / 430.5 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.1339, allocations: 4 kB / 430.5 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.377e-05/0.1339, allocations: 23.86 kB / 430.5 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.134, allocations: 4 kB / 430.5 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.557e-05/0.134, allocations: 7.953 kB / 430.5 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.134, allocations: 4 kB / 430.5 MB, free: 0.8711 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 8.92e-05/0.1341, allocations: 117.8 kB / 430.6 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.492e-05/0.1342, allocations: 81.58 kB / 430.7 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.606e-05/0.1342, allocations: 12.72 kB / 430.7 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1342, allocations: 0 / 430.7 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.1342, allocations: 3.984 kB / 430.7 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1342, allocations: 7.938 kB / 430.7 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.1344, allocations: 169.6 kB / 430.9 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.1344, allocations: 3.938 kB / 430.9 MB, free: 424 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.223e-05/0.1344, allocations: 19.98 kB / 430.9 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1344, allocations: 0 / 430.9 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.1344, allocations: 0 / 430.9 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1344, allocations: 0 / 430.9 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1344, allocations: 4 kB / 430.9 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001434/0.1346, allocations: 101 kB / 431 MB, free: 280 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.658e-05/0.1347, allocations: 96.98 kB / 431.1 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.1347, allocations: 4 kB / 431.1 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.771e-05/0.1347, allocations: 0 / 431.1 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.535e-06/0.1347, allocations: 0 / 431.1 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.1347, allocations: 4 kB / 431.1 MB, free: 156 kB / 350.1 MB Notification: Performance of sorting global known variables: time 7.616e-05/0.1348, allocations: 111.2 kB / 431.2 MB, free: 44 kB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1348, allocations: 0 / 431.2 MB, free: 44 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001979/0.135, allocations: 4 kB / 431.3 MB, free: 40 kB / 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.000549/0.1355, allocations: 0.6631 MB / 431.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001228/0.1356, allocations: 44.23 kB / 432 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1357, allocations: 4 kB / 432 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.1357, allocations: 0 / 432 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.1359, allocations: 40.72 kB / 432 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.1372, allocations: 1.343 MB / 433.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/0.1376, allocations: 0.7002 MB / 434 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.427e-05/0.1376, allocations: 4 kB / 434 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.258e-05/0.1376, allocations: 19.42 kB / 434.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1376, allocations: 0 / 434.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01965/0.1573, allocations: 1.786 MB / 435.9 MB, free: 11.38 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.141/8.299, allocations: 8.047 kB / 435.9 MB, free: 11.37 MB / 366.1 MB " [Timeout remaining time 652] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/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] "" Variables in the reference:time,assignClock1.y Variables in the result:add.k1,add.k2,add.u1,add.u2,add.y,assignClock1.u,assignClock1.y,const.k,const.y,periodicClock.factor,periodicClock.resolution,periodicClock.useSolver,previous(unitDelay1.u),time,unitDelay1.u,unitDelay1.y,unitDelay1.y_start [Calling sys.exit(0), Time elapsed: 11.393589898012578]