Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.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.000909/0.000909, 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.001664/0.001664, 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.8849/0.8849, allocations: 173.4 MB / 200.4 MB, free: 9.426 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.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.654e-06/1.654e-06, allocations: 0 / 318.4 MB, free: 6.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.537e-05/1.702e-05, allocations: 2.281 kB / 318.4 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002164/0.002181, allocations: 0.911 MB / 319.3 MB, free: 5.449 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003711/0.002552, allocations: 139.5 kB / 319.5 MB, free: 5.312 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.123e-05/0.002643, allocations: 4 kB / 319.5 MB, free: 5.309 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001082/0.002751, allocations: 19.73 kB / 319.5 MB, free: 5.289 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.002852, allocations: 7.938 kB / 319.5 MB, free: 5.281 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002397/0.003092, allocations: 43.88 kB / 319.6 MB, free: 5.238 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.003225, allocations: 67.84 kB / 319.6 MB, free: 5.172 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.003349, allocations: 36.17 kB / 319.7 MB, free: 5.137 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.678e-05/0.003406, allocations: 35.91 kB / 319.7 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.024e-05/0.003446, allocations: 23.91 kB / 319.7 MB, free: 5.078 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.016e-05/0.003476, allocations: 4 kB / 319.7 MB, free: 5.074 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.443e-05/0.003491, allocations: 8 kB / 319.7 MB, free: 5.066 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.71e-05/0.003568, allocations: 27.91 kB / 319.8 MB, free: 5.039 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.019e-05/0.003608, allocations: 15.94 kB / 319.8 MB, free: 5.023 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.003756, allocations: 91.55 kB / 319.9 MB, free: 4.934 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.003758, allocations: 0 / 319.9 MB, free: 4.934 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.003758, allocations: 0 / 319.9 MB, free: 4.934 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.898e-06/0.003762, allocations: 0 / 319.9 MB, free: 4.934 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000398/0.00416, allocations: 321.9 kB / 320.2 MB, free: 4.586 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.004201, allocations: 8.922 kB / 320.2 MB, free: 4.578 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.264e-05/0.004243, allocations: 46.69 kB / 320.2 MB, free: 4.523 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.096e-05/0.004274, allocations: 8.891 kB / 320.2 MB, free: 4.516 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002671/0.004542, allocations: 149.5 kB / 320.4 MB, free: 4.344 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.004555, allocations: 4.375 kB / 320.4 MB, free: 4.34 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/0.004571, allocations: 8.375 kB / 320.4 MB, free: 4.332 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004049/0.004976, allocations: 219.6 kB / 320.6 MB, free: 4.105 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.004987, allocations: 192 / 320.6 MB, free: 4.105 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.005, allocations: 4.375 kB / 320.6 MB, free: 4.102 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.005007, allocations: 4.125 kB / 320.6 MB, free: 4.098 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.796e-05/0.005085, allocations: 39.92 kB / 320.7 MB, free: 4.059 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001557/0.005241, allocations: 144.7 kB / 320.8 MB, free: 3.875 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002211/0.005462, allocations: 125.8 kB / 320.9 MB, free: 3.746 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.005573, allocations: 81.12 kB / 321 MB, free: 3.664 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.005587, allocations: 0 / 321 MB, free: 3.664 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.005619, allocations: 34.56 kB / 321 MB, free: 3.621 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 1.182e-06/0.00562, allocations: 0 / 321 MB, free: 3.621 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003856/0.006006, allocations: 153.5 kB / 321.2 MB, free: 3.465 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.804e-05/0.006074, allocations: 67.34 kB / 321.2 MB, free: 3.387 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.00619, allocations: 144.4 kB / 321.4 MB, free: 3.238 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.006207, allocations: 33.64 kB / 321.4 MB, free: 3.199 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.783e-05/0.006255, allocations: 92.41 kB / 321.5 MB, free: 3.102 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.502e-05/0.00627, allocations: 0 / 321.5 MB, free: 3.102 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.722e-05/0.006317, allocations: 29.66 kB / 321.5 MB, free: 3.066 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.006422, allocations: 318.8 kB / 321.9 MB, free: 2.746 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.591e-05/0.006438, allocations: 4 kB / 321.9 MB, free: 2.742 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.658e-05/0.006464, allocations: 21.7 kB / 321.9 MB, free: 2.715 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.702e-05/0.006501, allocations: 25.66 kB / 321.9 MB, free: 2.684 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.006504, allocations: 0 / 321.9 MB, free: 2.684 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.642e-05/0.00658, allocations: 53.62 kB / 322 MB, free: 2.625 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.006594, allocations: 4 kB / 322 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.006598, allocations: 4 kB / 322 MB, free: 2.617 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.006613, allocations: 8 kB / 322 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.455e-05/0.006628, allocations: 0 / 322 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.006634, allocations: 0 / 322 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.109e-05/0.006655, allocations: 4 kB / 322 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.006663, allocations: 0 / 322 MB, free: 2.605 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($CLKPRE.unitDelay2.u,unitDelay2.u,$CLKPRE.unitDelay1.u,unitDelay1.u) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay2.u,unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001013/0.006765, allocations: 133.8 kB / 322.1 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/0.006923, allocations: 121.5 kB / 322.2 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.906e-05/0.006962, allocations: 13.12 kB / 322.2 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.006967, allocations: 7.938 kB / 322.2 MB, free: 2.32 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.006971, allocations: 0 / 322.2 MB, free: 2.32 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.006974, allocations: 4 kB / 322.2 MB, free: 2.316 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.007076, allocations: 144.7 kB / 322.4 MB, free: 2.133 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.007078, allocations: 0 / 322.4 MB, free: 2.133 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.859e-05/0.007097, allocations: 7.984 kB / 322.4 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.007099, allocations: 0 / 322.4 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.007111, allocations: 8 kB / 322.4 MB, free: 2.117 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.007114, allocations: 7.875 kB / 322.4 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.007115, allocations: 0 / 322.4 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/0.00729, allocations: 152.6 kB / 322.6 MB, free: 1.945 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.211e-05/0.007342, allocations: 23.88 kB / 322.6 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.007361, allocations: 4 kB / 322.6 MB, free: 1.918 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.531e-05/0.007386, allocations: 15.92 kB / 322.6 MB, free: 1.902 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.036e-06/0.007389, allocations: 0 / 322.6 MB, free: 1.902 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.007395, allocations: 0 / 322.6 MB, free: 1.902 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.62e-05/0.007461, allocations: 113.5 kB / 322.7 MB, free: 1.793 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007461, allocations: 0 / 322.7 MB, free: 1.793 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002337/0.007695, allocations: 12 kB / 322.7 MB, free: 1.781 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: 16 (unitDelay1.u,unitDelay1.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],unitDelay2.u,unitDelay2.y,xor.u1,xor.u2,xor.y,integerConstant.y,xor1.u1,xor1.u2,xor1.y,integerConstant1.y) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay1.u,unitDelay2.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.000748/0.008443, allocations: 0.7457 MB / 323.5 MB, free: 1.008 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001545/0.008597, allocations: 48.05 kB / 323.5 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.0086, allocations: 4.062 kB / 323.5 MB, free: 0.957 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.92e-07/0.0086, allocations: 0 / 323.5 MB, free: 0.957 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.008915, allocations: 87.8 kB / 323.6 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008408/0.009756, allocations: 1.298 MB / 324.9 MB, free: 15.49 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.874e-05/0.009814, allocations: 100.2 kB / 325 MB, free: 15.37 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.741e-05/0.009832, allocations: 4.5 kB / 325 MB, free: 15.37 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.469e-05/0.009876, allocations: 24.5 kB / 325 MB, free: 15.34 MB / 298.7 MB Notification: Performance of SimCode: time 5.31e-07/0.009877, allocations: 4 kB / 325 MB, free: 15.34 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.017/0.02688, allocations: 3.007 MB / 328 MB, free: 12.47 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.706/6.733, allocations: 4.062 kB / 328 MB, free: 12.46 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.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.448710737749934]