Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.0008878/0.0008878, allocations: 76.06 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.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.0009678/0.0009678, allocations: 149.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 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 0.9186/0.9186, allocations: 173.4 MB / 200.4 MB, free: 9.422 MB / 186.7 MB " [Timeout remaining time 179] 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.BooleanSignals.AssignClock,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 318.4 MB, free: 6.363 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.897e-05/2.042e-05, allocations: 5.516 kB / 318.4 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.001542/0.001563, allocations: 0.8683 MB / 319.3 MB, free: 5.484 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002949/0.001858, allocations: 119.5 kB / 319.4 MB, free: 5.367 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.542e-05/0.001923, allocations: 0 / 319.4 MB, free: 5.367 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.847e-05/0.001962, allocations: 7.875 kB / 319.4 MB, free: 5.359 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001069/0.002069, allocations: 11.94 kB / 319.4 MB, free: 5.348 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001998/0.002268, allocations: 39.77 kB / 319.5 MB, free: 5.309 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.72e-05/0.002356, allocations: 39.92 kB / 319.5 MB, free: 5.27 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.342e-05/0.002449, allocations: 23.97 kB / 319.5 MB, free: 5.246 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.297e-05/0.002492, allocations: 23.92 kB / 319.6 MB, free: 5.223 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.935e-05/0.002521, allocations: 19.91 kB / 319.6 MB, free: 5.203 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.233e-05/0.002554, allocations: 8 kB / 319.6 MB, free: 5.195 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.476e-06/0.002562, allocations: 0 / 319.6 MB, free: 5.195 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.912e-05/0.002611, allocations: 15.92 kB / 319.6 MB, free: 5.18 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.43e-05/0.002636, allocations: 11.98 kB / 319.6 MB, free: 5.168 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.00274, allocations: 55.73 kB / 319.7 MB, free: 5.113 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.002742, allocations: 0 / 319.7 MB, free: 5.113 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.002744, allocations: 3.938 kB / 319.7 MB, free: 5.109 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.002748, allocations: 0 / 319.7 MB, free: 5.109 MB / 282.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.0005932/0.003341, allocations: 294.1 kB / 320 MB, free: 4.789 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.003392, allocations: 8.922 kB / 320 MB, free: 4.781 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.704e-05/0.003419, allocations: 38.75 kB / 320 MB, free: 4.734 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.593e-05/0.003445, allocations: 12.89 kB / 320 MB, free: 4.723 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.003644, allocations: 129.7 kB / 320.1 MB, free: 4.57 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.003654, allocations: 4.375 kB / 320.2 MB, free: 4.566 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-06/0.003663, allocations: 8.359 kB / 320.2 MB, free: 4.559 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/0.003887, allocations: 135.7 kB / 320.3 MB, free: 4.414 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.003894, allocations: 192 / 320.3 MB, free: 4.414 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.003904, allocations: 8.375 kB / 320.3 MB, free: 4.406 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.003909, allocations: 4.125 kB / 320.3 MB, free: 4.402 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.492e-05/0.003944, allocations: 15.98 kB / 320.3 MB, free: 4.387 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001039/0.004048, allocations: 136.8 kB / 320.5 MB, free: 4.211 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.004157, allocations: 58.66 kB / 320.5 MB, free: 4.145 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.267e-05/0.0042, allocations: 32.89 kB / 320.5 MB, free: 4.109 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.205e-06/0.004208, allocations: 0 / 320.5 MB, free: 4.109 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.00423, allocations: 38.56 kB / 320.6 MB, free: 4.062 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 9.21e-07/0.004231, allocations: 0 / 320.6 MB, free: 4.062 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001493/0.004381, allocations: 85.58 kB / 320.7 MB, free: 3.973 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.004426, allocations: 63.66 kB / 320.7 MB, free: 3.898 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.541e-05/0.004522, allocations: 133.8 kB / 320.9 MB, free: 3.758 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.004532, allocations: 25.7 kB / 320.9 MB, free: 3.727 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.318e-05/0.004565, allocations: 92.12 kB / 321 MB, free: 3.633 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.908e-06/0.004575, allocations: 0 / 321 MB, free: 3.633 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-05/0.004603, allocations: 21.67 kB / 321 MB, free: 3.605 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.801e-05/0.004681, allocations: 314.8 kB / 321.3 MB, free: 3.289 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.272e-05/0.004694, allocations: 4 kB / 321.3 MB, free: 3.285 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.116e-06/0.004702, allocations: 4 kB / 321.3 MB, free: 3.281 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.368e-05/0.004726, allocations: 12.92 kB / 321.3 MB, free: 3.266 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.004727, allocations: 3.938 kB / 321.3 MB, free: 3.262 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.074e-05/0.004778, allocations: 45.64 kB / 321.4 MB, free: 3.211 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.004791, allocations: 7.984 kB / 321.4 MB, free: 3.203 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.004796, allocations: 0 / 321.4 MB, free: 3.203 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.004807, allocations: 0 / 321.4 MB, free: 3.203 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.414e-05/0.004821, allocations: 3.938 kB / 321.4 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.004827, allocations: 3.984 kB / 321.4 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.134e-05/0.004839, allocations: 0 / 321.4 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-06/0.004843, allocations: 4 kB / 321.4 MB, free: 3.191 MB / 282.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 7.145e-05/0.004915, allocations: 117.9 kB / 321.5 MB, free: 3.066 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.346e-05/0.004978, allocations: 69.64 kB / 321.6 MB, free: 2.992 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.23e-05/0.00501, allocations: 12.44 kB / 321.6 MB, free: 2.977 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.005012, allocations: 3.938 kB / 321.6 MB, free: 2.973 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.005018, allocations: 3.938 kB / 321.6 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.005022, allocations: 3.984 kB / 321.6 MB, free: 2.965 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.251e-05/0.005095, allocations: 148.6 kB / 321.7 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.005097, allocations: 4 kB / 321.7 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.765e-06/0.005105, allocations: 0 / 321.7 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.005106, allocations: 0 / 321.7 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.005112, allocations: 0 / 321.7 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.005114, allocations: 8 kB / 321.8 MB, free: 2.766 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.005117, allocations: 3.938 kB / 321.8 MB, free: 2.762 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.554e-05/0.005202, allocations: 101 kB / 321.9 MB, free: 2.645 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.286e-05/0.005235, allocations: 11.95 kB / 321.9 MB, free: 2.633 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.005249, allocations: 3.984 kB / 321.9 MB, free: 2.629 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.212e-05/0.005261, allocations: 8 kB / 321.9 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-06/0.005265, allocations: 3.938 kB / 321.9 MB, free: 2.617 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.005269, allocations: 0 / 321.9 MB, free: 2.617 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.723e-05/0.005316, allocations: 106.6 kB / 322 MB, free: 2.516 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.005316, allocations: 0 / 322 MB, free: 2.516 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001274/0.005444, allocations: 8 kB / 322 MB, free: 2.508 MB / 282.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,xor.u1,xor.u2,xor.y,integerConstant.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.0003063/0.00575, allocations: 0.6554 MB / 322.6 MB, free: 1.824 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.978e-05/0.00582, allocations: 27.92 kB / 322.7 MB, free: 1.797 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.005821, allocations: 0 / 322.7 MB, free: 1.797 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.005821, allocations: 0 / 322.7 MB, free: 1.797 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.006042, allocations: 39.95 kB / 322.7 MB, free: 1.758 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006615/0.006704, allocations: 1.172 MB / 323.9 MB, free: 0.5 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.466e-05/0.006759, allocations: 83.42 kB / 324 MB, free: 408 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.431e-05/0.006773, allocations: 4 kB / 324 MB, free: 404 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.377e-05/0.006807, allocations: 12.5 kB / 324 MB, free: 392 kB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.006807, allocations: 0 / 324 MB, free: 392 kB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01836/0.02517, allocations: 2.33 MB / 326.3 MB, free: 14.18 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.635/6.66, allocations: 12 kB / 326.3 MB, free: 14.17 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.408572636544704]