Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001261/0.001261, allocations: 122.9 kB / 17.78 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.001297/0.001297, allocations: 189.2 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.378/1.378, allocations: 225.6 MB / 249.1 MB, free: 3.633 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.IntegerSignals.AssignClock,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 55.91 kB / 365.6 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0947/0.09607, allocations: 52.14 MB / 417.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002141/0.09822, allocations: 0.8485 MB / 418.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003579/0.09857, allocations: 127.5 kB / 418.8 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.723e-05/0.09864, allocations: 0 / 418.8 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.777e-05/0.09873, allocations: 3.938 kB / 418.8 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001371/0.09887, allocations: 15.92 kB / 418.8 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001847/0.09905, allocations: 39.89 kB / 418.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000103/0.09915, allocations: 39.86 kB / 418.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.09926, allocations: 23.98 kB / 418.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.965e-05/0.09929, allocations: 11.94 kB / 418.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.054e-05/0.09936, allocations: 31.83 kB / 418.9 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.09938, allocations: 4 kB / 418.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.688e-06/0.09939, allocations: 3.938 kB / 418.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.58e-05/0.09943, allocations: 15.94 kB / 418.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.45e-05/0.09948, allocations: 27.8 kB / 419 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.09961, allocations: 63.67 kB / 419 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.09961, allocations: 0 / 419 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.09961, allocations: 0 / 419 MB, free: 11.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.09962, allocations: 4 kB / 419 MB, free: 11.46 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.0005358/0.1002, allocations: 383 kB / 419.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.1002, allocations: 8.031 kB / 419.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.627e-05/0.1002, allocations: 46.73 kB / 419.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.508e-05/0.1003, allocations: 8.891 kB / 419.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003165/0.1006, allocations: 196.2 kB / 419.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.1006, allocations: 4.375 kB / 419.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.1006, allocations: 8.375 kB / 419.7 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002727/0.1009, allocations: 135.8 kB / 419.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.1009, allocations: 3.938 kB / 419.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.1009, allocations: 0 / 419.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1009, allocations: 4 kB / 419.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.767e-05/0.101, allocations: 27.92 kB / 419.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001914/0.1012, allocations: 181.5 kB / 420 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.1013, allocations: 70.72 kB / 420.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.042e-05/0.1014, allocations: 40.88 kB / 420.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.097e-05/0.1014, allocations: 4.156 kB / 420.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.1014, allocations: 38.48 kB / 420.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.1014, allocations: 0 / 420.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002101/0.1016, allocations: 109.5 kB / 420.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/0.1017, allocations: 55.41 kB / 420.3 MB, free: 9.965 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.1018, allocations: 144 kB / 420.5 MB, free: 9.816 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.1018, allocations: 25.7 kB / 420.5 MB, free: 9.785 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.165e-05/0.1019, allocations: 88.14 kB / 420.6 MB, free: 9.695 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.245e-05/0.1019, allocations: 0 / 420.6 MB, free: 9.695 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.65e-05/0.102, allocations: 33.66 kB / 420.6 MB, free: 9.656 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1021, allocations: 314.8 kB / 420.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.415e-05/0.1021, allocations: 19.92 kB / 420.9 MB, free: 9.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.535e-05/0.1022, allocations: 50.88 kB / 421 MB, free: 9.246 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.848e-05/0.1023, allocations: 78.73 kB / 421.1 MB, free: 9.145 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1023, allocations: 0 / 421.1 MB, free: 9.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001366/0.1024, allocations: 97.56 kB / 421.2 MB, free: 9.043 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.1024, allocations: 7.938 kB / 421.2 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1024, allocations: 4 kB / 421.2 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.1024, allocations: 4 kB / 421.2 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.424e-05/0.1025, allocations: 15.94 kB / 421.2 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.1025, allocations: 320 / 421.2 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.504e-05/0.1025, allocations: 8 kB / 421.2 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-06/0.1026, allocations: 4 kB / 421.2 MB, free: 9 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: 9 (sum.y,sum.u[2],sum.u[1],const.y,unitDelay1.y,$CLKPRE.unitDelay1.u,unitDelay1.u,assignClock1.y,assignClock1.u) * 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.0001207/0.1027, allocations: 130 kB / 421.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.1028, allocations: 89.56 kB / 421.4 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.87e-05/0.1028, allocations: 12.7 kB / 421.4 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1028, allocations: 4 kB / 421.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.1028, allocations: 3.938 kB / 421.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.1028, allocations: 192 / 421.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.103, allocations: 169.6 kB / 421.6 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.103, allocations: 7.938 kB / 421.6 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.817e-05/0.103, allocations: 12 kB / 421.6 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.103, allocations: 7.938 kB / 421.6 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.1031, allocations: 8 kB / 421.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1031, allocations: 0 / 421.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.1031, allocations: 0 / 421.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000155/0.1032, allocations: 116.9 kB / 421.8 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.386e-05/0.1033, allocations: 100.9 kB / 421.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.1033, allocations: 4 kB / 421.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.061e-05/0.1033, allocations: 0 / 421.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.675e-06/0.1033, allocations: 0 / 421.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.1033, allocations: 8 kB / 421.9 MB, free: 8.234 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.177e-05/0.1034, allocations: 109.8 kB / 422 MB, free: 8.129 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1034, allocations: 0 / 422 MB, free: 8.129 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001988/0.1036, allocations: 12 kB / 422 MB, free: 8.117 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: 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.00056/0.1042, allocations: 0.6787 MB / 422.7 MB, free: 7.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001312/0.1043, allocations: 47.91 kB / 422.7 MB, free: 7.363 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.1043, allocations: 0 / 422.7 MB, free: 7.363 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.12e-07/0.1043, allocations: 0 / 422.7 MB, free: 7.363 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.1046, allocations: 50.34 kB / 422.8 MB, free: 7.316 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.106, allocations: 1.372 MB / 424.1 MB, free: 5.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.1063, allocations: 0.7048 MB / 424.8 MB, free: 5.09 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.8e-05/0.1064, allocations: 0.6719 kB / 424.8 MB, free: 5.086 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.181e-05/0.1064, allocations: 15.44 kB / 424.9 MB, free: 5.07 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1064, allocations: 0 / 424.9 MB, free: 5.07 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02522/0.1316, allocations: 1.843 MB / 426.7 MB, free: 3.352 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.961/8.093, allocations: 0.625 kB / 426.7 MB, free: 3.352 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 10.505786959081888]