Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008548/0.0008548, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008916/0.0008916, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9124/0.9124, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.066e-06/3.066e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.309e-05/2.616e-05, allocations: 12.89 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.00222/0.002246, allocations: 0.8483 MB / 325.4 MB, free: 15.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003072/0.002553, allocations: 131.5 kB / 325.5 MB, free: 14.96 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.351e-05/0.002647, allocations: 3.938 kB / 325.6 MB, free: 14.96 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001034/0.00275, allocations: 7.938 kB / 325.6 MB, free: 14.95 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.002879, allocations: 11.92 kB / 325.6 MB, free: 14.94 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001982/0.003077, allocations: 31.97 kB / 325.6 MB, free: 14.91 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.003179, allocations: 51.77 kB / 325.7 MB, free: 14.86 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.003285, allocations: 15.98 kB / 325.7 MB, free: 14.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.966e-05/0.003324, allocations: 19.92 kB / 325.7 MB, free: 14.82 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.486e-05/0.003389, allocations: 19.97 kB / 325.7 MB, free: 14.8 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.003412, allocations: 4 kB / 325.7 MB, free: 14.8 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.578e-06/0.003422, allocations: 7.938 kB / 325.7 MB, free: 14.79 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.985e-05/0.003462, allocations: 11.98 kB / 325.7 MB, free: 14.78 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.172e-05/0.003493, allocations: 15.94 kB / 325.7 MB, free: 14.76 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.003605, allocations: 67.72 kB / 325.8 MB, free: 14.7 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.003608, allocations: 0 / 325.8 MB, free: 14.7 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.00361, allocations: 0 / 325.8 MB, free: 14.7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.003614, allocations: 0 / 325.8 MB, free: 14.7 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.0003658/0.00398, allocations: 300.9 kB / 326.1 MB, free: 14.37 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.004016, allocations: 8.031 kB / 326.1 MB, free: 14.36 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.902e-05/0.004045, allocations: 38.75 kB / 326.2 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.638e-05/0.004071, allocations: 16.83 kB / 326.2 MB, free: 14.3 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.004227, allocations: 141.5 kB / 326.3 MB, free: 14.14 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.004237, allocations: 12.31 kB / 326.3 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.004247, allocations: 4.375 kB / 326.3 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002267/0.004474, allocations: 131.9 kB / 326.5 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.004481, allocations: 192 / 326.5 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.004489, allocations: 4.375 kB / 326.5 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.004496, allocations: 8.125 kB / 326.5 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.828e-05/0.004534, allocations: 23.92 kB / 326.5 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001758/0.00471, allocations: 136.7 kB / 326.6 MB, free: 13.77 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002889/0.004999, allocations: 78.73 kB / 326.7 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.412e-05/0.005093, allocations: 36.84 kB / 326.7 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.005106, allocations: 4 kB / 326.7 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.005126, allocations: 34.5 kB / 326.8 MB, free: 13.6 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.283e-06/0.005128, allocations: 0 / 326.8 MB, free: 13.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001667/0.005294, allocations: 97.77 kB / 326.9 MB, free: 13.5 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.00534, allocations: 63.34 kB / 326.9 MB, free: 13.42 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.634e-05/0.005427, allocations: 152.7 kB / 327.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.005438, allocations: 29.7 kB / 327.1 MB, free: 13.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.089e-05/0.005469, allocations: 84.14 kB / 327.2 MB, free: 13.14 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.165e-05/0.00548, allocations: 7.938 kB / 327.2 MB, free: 13.14 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.713e-05/0.005517, allocations: 21.7 kB / 327.2 MB, free: 13.11 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.471e-05/0.005592, allocations: 314.8 kB / 327.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.688e-06/0.005602, allocations: 4 kB / 327.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.47e-06/0.005607, allocations: 3.938 kB / 327.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.92e-05/0.005627, allocations: 12.86 kB / 327.5 MB, free: 12.77 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.005628, allocations: 0 / 327.5 MB, free: 12.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.874e-05/0.005667, allocations: 45.64 kB / 327.6 MB, free: 12.72 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.005679, allocations: 8 kB / 327.6 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.005683, allocations: 4.094 kB / 327.6 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.005697, allocations: 3.938 kB / 327.6 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.773e-05/0.005745, allocations: 4 kB / 327.6 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.00575, allocations: 0 / 327.6 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.558e-06/0.005759, allocations: 0 / 327.6 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.005764, allocations: 0 / 327.6 MB, free: 12.7 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: 2 ($CLKPRE.unitDelay1.u,unitDelay1.u) * 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 6.445e-05/0.005829, allocations: 129.8 kB / 327.7 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.3e-05/0.005892, allocations: 73.64 kB / 327.8 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.614e-05/0.005918, allocations: 12.78 kB / 327.8 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.005922, allocations: 7.922 kB / 327.8 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.005926, allocations: 4 kB / 327.8 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.005929, allocations: 0 / 327.8 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.321e-05/0.005992, allocations: 140.8 kB / 328 MB, free: 12.28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.005992, allocations: 0 / 328 MB, free: 12.28 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.508e-05/0.006038, allocations: 15.98 kB / 328 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.006039, allocations: 0 / 328 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.553e-06/0.006045, allocations: 4 kB / 328 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.006047, allocations: 3.938 kB / 328 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.006048, allocations: 4 kB / 328 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.256e-05/0.006131, allocations: 109 kB / 328.1 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.185e-05/0.006163, allocations: 15.94 kB / 328.1 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.006176, allocations: 11.94 kB / 328.1 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.123e-05/0.006187, allocations: 3.938 kB / 328.1 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.294e-06/0.006189, allocations: 0 / 328.1 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.006193, allocations: 4 kB / 328.1 MB, free: 12.09 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.214e-05/0.006245, allocations: 107.2 kB / 328.2 MB, free: 11.99 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006245, allocations: 0 / 328.2 MB, free: 11.99 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000122/0.006367, allocations: 4 kB / 328.2 MB, free: 11.98 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: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,const.y,sum.u[1],sum.u[2],sum.y) * 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.0003296/0.006697, allocations: 0.6826 MB / 328.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.719e-05/0.006774, allocations: 32.05 kB / 329 MB, free: 11.24 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.006776, allocations: 0 / 329 MB, free: 11.24 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.21e-07/0.006777, allocations: 0 / 329 MB, free: 11.24 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/0.007011, allocations: 55.08 kB / 329 MB, free: 11.19 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000715/0.007726, allocations: 1.212 MB / 330.2 MB, free: 9.887 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.81e-05/0.007784, allocations: 95 kB / 330.3 MB, free: 9.773 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.498e-05/0.007799, allocations: 0 / 330.3 MB, free: 9.773 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.186e-05/0.007841, allocations: 20.48 kB / 330.3 MB, free: 9.754 MB / 298.7 MB Notification: Performance of SimCode: time 4.71e-07/0.007841, allocations: 4.094 kB / 330.3 MB, free: 9.75 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0152/0.02305, allocations: 2.446 MB / 332.8 MB, free: 7.438 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.507/6.53, allocations: 0 / 332.8 MB, free: 7.438 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.210127751342952]